Search found 383 matches

by Paul Cerkez
10 Dec 2018 13:21
Forum: Visual Prolog
Topic: anti virus programs
Replies: 3
Views: 56

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: 1020

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: 1020

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: 1991

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: 2040

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: 1854

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: 1854

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: 1854

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: 1854

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: 1802

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...
by Paul Cerkez
19 Oct 2017 13:38
Forum: Visual Prolog
Topic: project goal
Replies: 14
Views: 1237

If I might weight in a little here. Building on what Thomas just stated, I was initially reluctant to move away from 5.x in a large project I had that was independently certified for safety use. I tried 'migrating' from 5.x to 6 when the change came about. It was a nightmare, all kinds of errors, so...
by Paul Cerkez
28 Jul 2017 11:47
Forum: Visual Prolog Tips & Samples
Topic: xyChartDemo - GDIPLUS XY graphing demonstration
Replies: 2
Views: 1379

Harrison,
Great job. I've been wanting to do more work in GDIPlus inside of VIP since I presented my paper at the VIP ALC back in 2006. I've done some minor tinkering but too many issues/demands in my day job to devote much time to it unfortunately. Glad to see this.
by Paul Cerkez
31 May 2017 21:55
Forum: Visual Prolog
Topic: json and swi
Replies: 2
Views: 918

Years ago, back in the PDC 3.x days I remember doing a comparison between SWI and PDC Prolog (as it was called then). PDC was noticeably faster in all my tests, event when used as the PIE. I can't vouch for the current versions of VIP v. SWI because I don't use SWI at all. (I am a little biased towa...
by Paul Cerkez
5 Apr 2017 16:55
Forum: Visual Prolog
Topic: Getting Time/Date info from a source other than the computer clock
Replies: 5
Views: 1227

Like Thomas, not in my area of expertise, BUT I believe if they are connected to the internet (or corporate network), time can be pulled form a Corporate Server or from an internet 'clock' (there are a few of these). https://time.is/about www.time.gov tf.nist.gov/tf-cgi/servers.cgi do a google searc...
by Paul Cerkez
19 Mar 2017 19:48
Forum: Visual Prolog
Topic: Rotate a bitmap by an arbitrary angle
Replies: 10
Views: 1607

Harrison,
I did exactly this a few years back. let me see if I can find my code.

P.