JSON package

Discussions related to Visual Prolog
User avatar
Jan de Lint
VIP Member
Posts: 107
Joined: 6 Mar 2000 0:01

Unread post by Jan de Lint » 22 Dec 2014 11:38

Thanks, next questions:
- the JSON package - where do I find information?
- source control repository in the tools menu - what type of source control package is that?
]an

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

Unread post by Thomas Linder Puls » 22 Dec 2014 17:17

There is some information in Web Services#JSON & JSON-RPC.
Regards Thomas Linder Puls
PDC

User avatar
Jan de Lint
VIP Member
Posts: 107
Joined: 6 Mar 2000 0:01

Unread post by Jan de Lint » 29 Dec 2014 12:01

I would like to browse the predicates of the jsonObject in the PFC.
How do I access the class documentation?
Thanks,
]an

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

Unread post by Thomas Linder Puls » 29 Dec 2014 20:33

Try writing json in an editor and place the caret in the name and press F1.
Regards Thomas Linder Puls
PDC

User avatar
Jan de Lint
VIP Member
Posts: 107
Joined: 6 Mar 2000 0:01

Unread post by Jan de Lint » 30 Dec 2014 10:00

That link is broken apparently. Nothing happens.
Then, I opened json (open core,json), recompiled and subsequently I could use the intelligent predicate completion. That gave me an idea of the available predicates. What I'm looking for is a way to encode facts into JSON.

A minor thing: while experimenting with some of the function keys I found that the meaning of F12 and Ctrl+F12 has been swapped as compared to the description in the menu "Go to" pull down. I never noticed before because I still use the good old Ctrl+Shift+C and Ctrl+Shift+D :oops:
Regards,
]an

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

Unread post by Thomas Linder Puls » 30 Dec 2014 14:46

We have experienced that some computers will not open the help file. Can you open it directly, e.g. by double-clicking it $(ProDir)\doc\vip.chm.

I believe F12 and Ctrl+F12 are correct (I never use them myself either). F12 corresponds to Ctrl+Shift+C = Go to Definition.
Regards Thomas Linder Puls
PDC

User avatar
Jan de Lint
VIP Member
Posts: 107
Joined: 6 Mar 2000 0:01

Unread post by Jan de Lint » 1 Jan 2015 13:29

Ok.
Definition means the clause. I guess that confused me.
]an

Post Reply