Discussions related to Visual Prolog
B.Hooijenga
VIP Member
Posts: 57
Joined: 11 Jul 2002 23:01

menuitem: Help/Prolog Foundation Classes does not work

Unread post by B.Hooijenga »

Hello Thomas,

In VIPce build 1106 Help/Prolog Foundation Classes(PFC) gives no reaction.
In VIPversions before VIP11 we got an chm-file but as I understand they are not used anymore.
I dearly miss an overview of all the Vip-packages.

Kind regards.
Ben
Harrison Pratt
VIP Member
Posts: 443
Joined: 5 Nov 2000 0:01

Re: menuitem: Help/Prolog Foundation Classes does not work

Unread post by Harrison Pratt »

Agree -- I end up browsing the PFC directory files to find things. Although that is a manageable solution for people already very familiar with VIP, it could be a stonewall for new users.

I also suspect that he time commitment it would take to remedy that would be large.
Harrison Pratt
VIP Member
Posts: 443
Joined: 5 Nov 2000 0:01

Re: menuitem: Help/Prolog Foundation Classes does not work

Unread post by Harrison Pratt »

Looking for some other things this morning I stumbled on vip.chm and vip.chw files in the /doc directory of my Vip11 installation.
It's for Vip10, but it should give you 99% of what you need.
Try putting a clickable link somewhere handy (Desktop or Taskbar).
B.Hooijenga
VIP Member
Posts: 57
Joined: 11 Jul 2002 23:01

Re: menuitem: Help/Prolog Foundation Classes does not work

Unread post by B.Hooijenga »

Harrison,

Yes, I had already seen that, and for the moment it will do.
But no, in the end it will not be enough.

Kind regards,

Ben
User avatar
Thomas Linder Puls
VIP Member
Posts: 1401
Joined: 28 Feb 2000 0:01

Re: menuitem: Help/Prolog Foundation Classes does not work

Unread post by Thomas Linder Puls »

Yes, there is a problem. We will consider what to do.
Regards Thomas Linder Puls
PDC
User avatar
Thomas Linder Puls
VIP Member
Posts: 1401
Joined: 28 Feb 2000 0:01

Re: menuitem: Help/Prolog Foundation Classes does not work

Unread post by Thomas Linder Puls »

I can however tell you how I deal with "overview" (besides simply knowing and remembering everything :-)).

I have a project that contains all PFC classes.

In this project I can browse for everything in the project tree, and use everything from the Go to menu, search for anything in all the files and so forth.

I use the main file for small tests, etc.

For your convenience I have attached such a project.
Attachments
all_pfc.zip
Project containing all PFC (and vip) packages
(9.59 KiB) Downloaded 150 times
Regards Thomas Linder Puls
PDC
Harrison Pratt
VIP Member
Posts: 443
Joined: 5 Nov 2000 0:01

Re: menuitem: Help/Prolog Foundation Classes does not work

Unread post by Harrison Pratt »

If you don't have keen eyes, you're likely to miss the subtly tinted link after your search term (boxed in this screenshot) that takes you to more information, too.

I was also amazed to see that F1 linked to my own code! Does the IDE handle comment generation for custom code (i.e., "@short ... etc.) , too?
Screenshot 2024-02-08 105733.png
Screenshot 2024-02-08 105733.png (33.37 KiB) Viewed 918 times
Harrison Pratt
VIP Member
Posts: 443
Joined: 5 Nov 2000 0:01

Re: menuitem: Help/Prolog Foundation Classes does not work

Unread post by Harrison Pratt »

BRILLIANT!

F1 Help displays your own code's end of line comments like this

Code: Select all

myPredicate : ( real R ).   % R must be greater than 0.
As well as the & @short style comments.
User avatar
Thomas Linder Puls
VIP Member
Posts: 1401
Joined: 28 Feb 2000 0:01

Re: menuitem: Help/Prolog Foundation Classes does not work

Unread post by Thomas Linder Puls »

Yes, F1 now works on the code in the project; yours and our.

Which is sadly also why you have lost the "complete" pfc documentation (i.e., unless you have the entire pfc in your project).

We will clearly have to find a way to deal with that in the future, but right now the best/only thing I can see is that we link the menu item back to the help file (since both still exist anyway).
Regards Thomas Linder Puls
PDC
Post Reply