Search found 16 matches

by hyphz
9 May 2019 22:31
Forum: Visual Prolog
Topic: Editing the Wiki?
Replies: 2
Views: 701

Editing the Wiki?

The front page of the wiki says that to contribute you need to have your e-mail address validated. But following the instructions to validate my e-mail address result in a request to log in. Using my forums login does not work, and attempting to create an account on the wiki generates a permission d...
by hyphz
9 May 2019 0:14
Forum: Visual Prolog
Topic: API reference
Replies: 3
Views: 778

API reference

Hi, I was rather sad to see that with VP9 the PFC reference is still missing from the download. The Help links inside the program lead to the wiki which omits these documents and the knowledge base link is broken. I did notice the prodoc tool that I thought could produce this document, but after run...
by hyphz
24 Oct 2017 19:25
Forum: Visual Prolog
Topic: Automated Timetabling examples?
Replies: 1
Views: 702

Automated Timetabling examples?

Hi,

I was wondering, if there are any examples for automated timetable generation with VP. I know that this is what PDC use it for a lot and while I would not expect them to reveal any trade secrets I was wondering if there are any examples that they do offer.
by hyphz
15 Aug 2016 14:34
Forum: Visual Prolog
Topic: Library Reference?
Replies: 7
Views: 4324

I'm still getting this issue. Any time help is opened on the Web it works fine (and my default browser is Firefox) but anything that would open the CHM file silently does nothing. The only way to view the CHM file is to manually open it from file manager.
by hyphz
1 Sep 2015 22:13
Forum: Visual Prolog
Topic: Library Reference?
Replies: 7
Views: 4324

Re:

Can you open the help file manually? What happens if you place the caret in the word "clauses" and then press F1? Nothing happens when I do that. If I put the caret on a "tryGet" call and press F1, I get the message to "choose 'tryGet' to show help topic..', but whichever one I choose the window th...
by hyphz
1 Sep 2015 18:22
Forum: Visual Prolog
Topic: Library Reference?
Replies: 7
Views: 4324

Thanks for your reply, however pressing F1 did not seem to work when I tried it - nothing happened and on one occasion I got an assertion error in the IDE. This may be due to the fact I am using Windows 10.
by hyphz
28 Aug 2015 15:53
Forum: Visual Prolog
Topic: Library Reference?
Replies: 7
Views: 4324

Library Reference?

Has the library reference been moved somewhere I can't find? Previously I recall the built-in context help contained lists and prototypes for all the library functions but it seems to be inaccessible now. The wiki has the language reference, but not the library reference. Is there a library referenc...
by hyphz
26 Aug 2015 19:25
Forum: Visual Prolog
Topic: New website appearance
Replies: 0
Views: 3364

New website appearance

Just a note that I really like the new look of the website! :)
by hyphz
13 Sep 2014 20:49
Forum: Visual Prolog
Topic: Which is a better structure for a database?
Replies: 12
Views: 3261

Which is a better structure for a database?

For storing data is it better to use the internal fact database, or an array or other collection of objects?
by hyphz
3 Sep 2014 0:40
Forum: Visual Prolog
Topic: Is recursion unwound?
Replies: 1
Views: 1414

Is recursion unwound?

Hi, Does the VP7 compiler unwind recursion internally or convert it to branches? For example, if I have the following code: pester() :- write("Say uncle: "), I = readLine(), if I <> "uncle" then pester end if. Is the recursion converted to a branch or could this code potentially trigger a stack over...
by hyphz
9 May 2013 15:42
Forum: Visual Prolog
Topic: Can you make a UI like Launchy/Quicksilver in VP?
Replies: 0
Views: 1335

Can you make a UI like Launchy/Quicksilver in VP?

Is it possible to write a VP program which can run in the background, respond to a hotkey and then pop up a borderless window, as with a program launcher such as Launchy? I know you can register a hotkey with gui_native but I'm not sure about the rest of the context for doing so. Launchy itself is o...
by hyphz
5 May 2013 18:42
Forum: Visual Prolog
Topic: Learning question on flow declarations
Replies: 5
Views: 1687

Re:

The problem is in not( Item = nothing) , which you use in a more clever way than the compiler. To the compiler the third and fourth clause can match "nothing" (after the match the not will however fail). That makes sense. So is there a way to pattern-match for "not nothing"? Or would it do to just ...
by hyphz
5 May 2013 0:18
Forum: Visual Prolog
Topic: Learning question on flow declarations
Replies: 5
Views: 1687

Thanks very much for your reply! I understand all of those except for doMove. It worked when I placed a cut at the end of every clause to force it to be determ, but I'm not quite sure why it's considered backtrackable. Neither sort nor removeall can produce more than one result and the predicate tes...
by hyphz
4 May 2013 22:14
Forum: Visual Prolog
Topic: Learning question on flow declarations
Replies: 5
Views: 1687

Learning question on flow declarations

So, as an exercise to learn VP, I wrote the following to calculate a solution to the old River Crossing logic problem: implement main open core domains item = chicken(); fox(); grain(); nothing(). side = left(); right(). itemList = item*. state = state(itemList Left, itemList Right, side OurLoc). cl...
by hyphz
15 Jan 2013 17:01
Forum: Visual Prolog
Topic: Is there a good graph control or tutorial?
Replies: 2
Views: 1267

Re:

Thank you very much for your reply.

Rather than GDI+ I meant if there is any way to use WPF?