Search found 42 matches

by Loffy
31 Oct 2019 10:52
Forum: Visual Prolog
Topic: Progress Bar status indicator
Replies: 37
Views: 1532

Re: Progress Bar status indicator

Thomas, Thanks. I will try to implement the solution over the weekend. I must admit that I had not expected to get this deep into VIP this quickly. I continue to learn "stuff" in my project and still have a quite a way to go. Thanks again to yourself and Martin for the determination to attain an out...
by Loffy
31 Oct 2019 3:15
Forum: Visual Prolog
Topic: Progress Bar status indicator
Replies: 37
Views: 1532

Re: Progress Bar status indicator

Martin and Thomas,

Thank you for all the work you put into this.

After I finish my current test activity I will attempt to merge your solution into my project.

Regards,

Loffy
by Loffy
25 Oct 2019 3:03
Forum: Visual Prolog
Topic: Reading hexadecimal from utf8 files
Replies: 9
Views: 484

Re: Reading hexadecimal from utf8 files

Thomas,

Thanks again.

Yes, I had noticed the mode parameter in my investigations, though I have not yet got around to using it. I will now.

And I don't mind your comment at all. It made me laugh.

Regards,

Loffy
by Loffy
24 Oct 2019 13:50
Forum: Visual Prolog
Topic: Reading hexadecimal from utf8 files
Replies: 9
Views: 484

Re: Reading hexadecimal from utf8 files

Thomas, Thanks again for your prompt response. Your question is quite pertinent. I am attempting to emulate/simulate the actions of a quantum computer, and that goes a very long way further than this issue. The simple pretext of my idea for this part of my system is as follows (and I will not elabor...
by Loffy
24 Oct 2019 6:23
Forum: Visual Prolog
Topic: Reading hexadecimal from utf8 files
Replies: 9
Views: 484

Re: Reading hexadecimal from utf8 files

Thomas, Please find attached file. First, some points: - the file I was testing is large (2GB). - I have saved the first 32 bytes of the file using (WinHex) into a new test file. - the 2GB file was created in VIP using utf8 file qualifiers where required. - Windows notepad has confirmed the new file...
by Loffy
23 Oct 2019 11:34
Forum: Visual Prolog
Topic: Reading hexadecimal from utf8 files
Replies: 9
Views: 484

Re: Reading hexadecimal from utf8 files

Harrison,

The file does not contain a BOM (at least as far as I can see with my hex editor), so I will look further at the details of thread-ansi.

Regards,

Loffy
by Loffy
23 Oct 2019 9:09
Forum: Visual Prolog
Topic: Reading hexadecimal from utf8 files
Replies: 9
Views: 484

Reading hexadecimal from utf8 files

I am testing concepts for a project, and to date I have settled on using utf8 files for a number of reasons. My current testing requires using streams to read and write utf8 files. The streaming works fine until I get to the current test regarding reading a utf8 file that contains hexadecimal bytes ...
by Loffy
18 Oct 2019 7:01
Forum: Visual Prolog
Topic: Progress Bar status indicator
Replies: 37
Views: 1532

Re: Progress Bar status indicator

Ben,

Thanks, that works. I took a few seconds for the message to appear, but that is a lot better than not appearing until after the file has been written.

Regards,

Loffy
by Loffy
17 Oct 2019 11:57
Forum: Visual Prolog
Topic: Progress Bar status indicator
Replies: 37
Views: 1532

Re: Progress Bar status indicator

Thomas, I have tried my "crude" approach, though I have hit a hurdle that I think relates to background processing of stdio::write functionality. Firstly I send a message to the standard stdio outstream at the beginning of the process to the message window to inform the user to be patient. Then I se...
by Loffy
17 Oct 2019 8:23
Forum: Visual Prolog
Topic: Progress Bar status indicator
Replies: 37
Views: 1532

Re: Progress Bar status indicator

Thomas, Thanks for the above posts and all of the work you put into this. For the moment I will go to something a bit crude to give some very basic info, and come back to the problem after I have developed more of the fundamental aspects of my project idea. Good progress so far; a few more things to...
by Loffy
16 Oct 2019 7:00
Forum: Visual Prolog
Topic: Progress Bar status indicator
Replies: 37
Views: 1532

Re: Progress Bar status indicator

Martin, I have changed a few things as I wanted to output a text message rather than, for example, the current time. The first 10 characters of my message shows on the bottom toolbar where the timer used to show. To achieve this I created a fact to store my message at a time that was convenient for ...
by Loffy
15 Oct 2019 3:40
Forum: Visual Prolog
Topic: Progress Bar status indicator
Replies: 37
Views: 1532

Re: Progress Bar status indicator

Martin,

Thanks again. My fault.

Gee it is hard to get good help these days.

Regards,

Loffy
by Loffy
14 Oct 2019 13:07
Forum: Visual Prolog
Topic: Progress Bar status indicator
Replies: 37
Views: 1532

Re: Progress Bar status indicator

Martin, Re the code display icon: I get none of these icons in my installation of VIP. I first installed the personal version a few months ago, then upgraded to the commercial version. I have played again tonight and I cannot see any of the icons you displayed re Code display, nor any of the other i...
by Loffy
13 Oct 2019 13:18
Forum: Visual Prolog
Topic: Progress Bar status indicator
Replies: 37
Views: 1532

Re: Progress Bar status indicator

Martin, I have tried this solution, though I have a problem when I go to display the progress bar. I can send you some code grabs, though I (stupid me) still do not understand how to encapsulate the code so that it is nicely readable. I have seen references to code/hash code symbols, but I have not ...
by Loffy
12 Oct 2019 5:33
Forum: Visual Prolog
Topic: Progress Bar status indicator
Replies: 37
Views: 1532

Re: Progress Bar status indicator

Martin,

Thanks again.

I will try this solution.

Regards,

Loffy