Search found 77 matches

by Carlos Pereira
19 Feb 2011 8:03
Forum: Visual Prolog
Topic: Getting the highest number and name from a list
Replies: 2
Views: 897

Hi,

Thank you - I'll have a go at that.

Carlos
by Carlos Pereira
18 Feb 2011 18:17
Forum: Visual Prolog
Topic: Getting the highest number and name from a list
Replies: 2
Views: 897

Getting the highest number and name from a list

Hello everyone. I'm stuck with a little problem, your kind help will move me further on. I have a list of numbers each corresponds to a name. I want to get the highest number with its name. I don't know what the highest number is. I've tried a number of options without success, now I've opted for th...
by Carlos Pereira
21 Jan 2011 11:28
Forum: Visual Prolog
Topic: File maintenance
Replies: 7
Views: 1666

Great support

Thank you,

Carlos
by Carlos Pereira
21 Jan 2011 9:16
Forum: Visual Prolog
Topic: File maintenance
Replies: 7
Views: 1666

Hello, The value of DocDir comes up as: C:\Users\Carlos\Documents When I type the path manually C:\\Users\arlos\Documents .. it works fine. The Help file under 'getLogicalDirectory' says that "the returned string has no trailing backslash". So I think that's what the problem may be. I've tried to in...
by Carlos Pereira
20 Jan 2011 19:57
Forum: Visual Prolog
Topic: File maintenance
Replies: 7
Views: 1666

Helo everyone, Please let me pick your brain again. DocDir=directory::getLogicalDirectory(directory::personal_directoryID), the code is extracting the directory path. However, when I test it to back up the file an exception is raised. It cannot find the path. file::copy("C:\\birdMap\\birdMapUK.txt",...
by Carlos Pereira
20 Jan 2011 11:37
Forum: Visual Prolog
Topic: File maintenance
Replies: 7
Views: 1666

Thank you Senhor.

Carlos
by Carlos Pereira
20 Jan 2011 10:01
Forum: Visual Prolog
Topic: File maintenance
Replies: 7
Views: 1666

File maintenance

Hello everyone, Question: Is there a predicate that analyses the system and gives me the path to Documents? I'm using copy/2 to backup files. Before I setup what I think is the path to save the backup file, I want to ask the user his preference. I want to offer Documents as the default - I must know...
by Carlos Pereira
17 Jan 2011 7:59
Forum: Visual Prolog
Topic: Lists - unfamiliar format
Replies: 5
Views: 1318

Hi, I included your test and run under Debug. It stopped with a blue arrow pointing to: mainExe::run(main::run) I went to Debug again and pressed 'Step out of' - then it continued as normal and printed your test line ["one","two"]. When I closed the prog, another box popped up with a red dot and a b...
by Carlos Pereira
16 Jan 2011 19:36
Forum: Visual Prolog
Topic: Lists - unfamiliar format
Replies: 5
Views: 1318

Hi Steve, There's a lot of code so I enclose the minimum to understand what I did: 1 - Read data; boxA(SizeList) :- findAll(Size, database(_,Size,_,_,_), SizeList), SizeList <> [], !, total :=0, foreach idA(S) do total := total + 1 end foreach, SizeList <> [], !. boxA([]) :- vpiCommonDialogs::error(...
by Carlos Pereira
16 Jan 2011 14:53
Forum: Visual Prolog
Topic: Lists - unfamiliar format
Replies: 5
Views: 1318

Lists - unfamiliar format

Hello everyone, Question: "Why is a workfile saving and then printing data in the format below?" [\"Golden\",\"Wood\",\"Short ... ] I have a dialog box with 4 List Boxes and a staticText for output. The boxes contem different lists used to analize elements. The result is displayed on the staticText....
by Carlos Pereira
10 Jan 2011 18:00
Forum: Visual Prolog
Topic: Downloading the Aplication from Internet together with all the files into a pack?
Replies: 6
Views: 1454

I never realize there's so much to be aware of in using an installer. The english expression, " a little knowledge is a dangerous thing," came to mind after reading the rules and regulations of using that software.Careless use can cause damage to a third party user. Even though I only want the basic...
by Carlos Pereira
10 Jan 2011 15:54
Forum: Visual Prolog
Topic: How to create a stand alone prog to run in another computer
Replies: 3
Views: 1589

Hello again, Steve - That was the problem, I didn't have an installer. Ben - I read the help file and unless I missed the point it doesn't deal with my question but with the needed files for a stand alone program. If I missed the pages please let me know so that I can re-read them properly. Thanks f...
by Carlos Pereira
10 Jan 2011 9:30
Forum: Visual Prolog
Topic: Downloading the Aplication from Internet together with all the files into a pack?
Replies: 6
Views: 1454

Hi OK, I have all the files uploaded and downloaded - works fine. What I would like is to hide all the files except the application so that when thezipped program is downloaded from the internet instead of having 15 files displayed the user can only see one, the Aplication. If I hide the files befor...
by Carlos Pereira
9 Jan 2011 22:06
Forum: Visual Prolog
Topic: Downloading the Aplication from Internet together with all the files into a pack?
Replies: 6
Views: 1454

Yes Steve I meant that. I want others to load the program. Yes I did upload the code to the ISP otherwise I couldn't have been able to download the .exe file. Sorry for going around the houses - sometimes I complicate a description without realizing - but you hit the nail on the head. :P I'm going t...
by Carlos Pereira
9 Jan 2011 18:07
Forum: Visual Prolog
Topic: Downloading the Aplication from Internet together with all the files into a pack?
Replies: 6
Views: 1454

Downloading the Aplication from Internet together with all the files into a pack?

Hello everyone, I little problem I'm unable to solve it alone - I've tried a few ideas but without success. Can you please sugggest a solution?. Problem = When I download (program exe folder) from the internet, I can only download the application, (mono.exe) - I cannot get the other files to be down...