Search found 202 matches

by Paul Cerkez
13 Sep 2019 0:27
Forum: Visual Prolog
Topic: PIE
Replies: 2
Views: 1041

Re: PIE

Great news,
Thank you Thomas.
by Paul Cerkez
12 Sep 2019 2:20
Forum: Visual Prolog
Topic: PIE
Replies: 2
Views: 1041

PIE

Hey VIP folks :-)

I am getting ready to start teaching in the spring an "Intro to AI" class and I wanted to include Prolog as one of the topics. Is the PIE still available?

P.
by Paul Cerkez
22 Jul 2019 12:33
Forum: Visual Prolog
Topic: Compiled clauses
Replies: 10
Views: 1853

Re: Compiled clauses

Rangarajan, While I haven't been using VIP 9 (yet!), in earlier releases of VIP, I was quite literally using a few thousand facts, reading (consult) and writing (save) them in a couple of my applications. In each case, these facts were spread across multiple different files. There was no noticeable ...
by Paul Cerkez
17 Jun 2019 11:31
Forum: Visual Prolog
Topic: Visual Prolog binary as .NET Core assembly
Replies: 8
Views: 1669

Re: Visual Prolog binary as .NET Core assembly

Thanks Thomas for that explanation. I was wondering about the same thing (but have been WAY too busy to start investigating.)
by Paul Cerkez
2 Jan 2019 12:58
Forum: Visual Prolog
Topic: anti virus programs
Replies: 12
Views: 5374

Re: anti virus programs

Jan, sorry for the delay in responding. Been off line. I have used both installers and simply copying from one device to another. As I mentioned, no registry modifications. The installers (2 different products) worked cleanly. Loved using them. The AV products simply did not like the application its...
by Paul Cerkez
10 Dec 2018 13:21
Forum: Visual Prolog
Topic: anti virus programs
Replies: 12
Views: 5374

Re: anti virus programs

Just a quick side note to this discussion. a few years back, an application I wrote worked fine and was approved to be on the network computers. It was used fairly extensively and was on the network for about 6 years. Then, with no warning, it was automatically stripped from all the computers. A wee...
by Paul Cerkez
16 Aug 2018 17:04
Forum: Visual Prolog
Topic: ListviewControl compilation 32bit vs 64 bit, VP8
Replies: 7
Views: 5398

Re: ListviewControl compilation 32bit vs 64 bit, VP8

Sorry, I've doing so much programming in c# lately I got confused. :oops:

my intent was correct though: 32 vs 64 natives.
by Paul Cerkez
16 Aug 2018 11:28
Forum: Visual Prolog
Topic: ListviewControl compilation 32bit vs 64 bit, VP8
Replies: 7
Views: 5398

Re: ListviewControl compilation 32bit vs 64 bit, VP8

not too sure, but have you tried making it convert to an 'int32' ?
by Paul Cerkez
20 Apr 2018 17:04
Forum: Visual Prolog
Topic: Change variable value employing expression of same variable
Replies: 5
Views: 5899

Re: Change variable value employing expression of same variable

I could be completely wrong but isn't == an equality comparison and = an assignment?

Why not use = ?

P.
by Paul Cerkez
20 Feb 2018 18:56
Forum: Visual Prolog
Topic: VP Debugger: How to set specific number of BreakPoint iterations
Replies: 4
Views: 2884

Re: VP Debugger: How to set specific number of BreakPoint iterations

how about inserting a simple test step at the beginning of the iteration for a key board entry if the Iteration count = a specific number? (it's the way I used to do debugging in VIP before there was a debugger).
by Paul Cerkez
17 Jan 2018 17:08
Forum: Visual Prolog
Topic: modifying the foreach variable from within the foreach body
Replies: 7
Views: 3009

Re: modifying the foreach variable from within the foreach body

Thomas,
The std::fromTo() 'sets' the next value of 'Y' from the sequence each time though, correct?
by Paul Cerkez
17 Jan 2018 13:21
Forum: Visual Prolog
Topic: modifying the foreach variable from within the foreach body
Replies: 7
Views: 3009

Re: modifying the foreach variable from within the foreach body

Michael, dumb question. I'm confused. Are you trying to restart the same foreach() loop from within the foreach() loop but with new start and stop numbers based on a action/decision within that loop? <clause>:- ... steps ... foreach(), %change the iterations of this loop and restart just the loop fr...
by Paul Cerkez
17 Jan 2018 12:43
Forum: Visual Prolog
Topic: modifying the foreach variable from within the foreach body
Replies: 7
Views: 3009

Re: modifying the foreach variable from within the foreach body

sorry, missed the implied cannot use recursion.

Deferring to Thomas.
by Paul Cerkez
16 Jan 2018 18:10
Forum: Visual Prolog
Topic: modifying the foreach variable from within the foreach body
Replies: 7
Views: 3009

Re: modifying the foreach variable from within the foreach body

I don't remember if it exists in VIP or not but how about a "while" loop instead of a foreach? pseudo code: Y = 1 While Y < 100, <do steps> < change value of Y (either increment by 1 or set to 100)> End While. in pseudo VIP: ... Y=1, MyWhileLoop(Y, Omega), % Omega is the upper limit) .... MyWhileLoo...
by Paul Cerkez
2 Jan 2018 13:48
Forum: Visual Prolog
Topic: how to avoid increasing the stack for facts matching that fails
Replies: 8
Views: 3033

Re: how to avoid increasing the stack for facts matching that fails

I am not an expert on the latest version of VIP (still need to upgrade from 7.5) but looking at your code block the logic looks iffy. (Assuming hierarchy_PART(...) and local_object(...) are fact bases) To see it, try re-ordering the clauses; add_local_conditionally(Module_name, In_local_list, In_loc...