Search found 304 matches

by Harrison Pratt
22 Oct 2008 14:34
Forum: Visual Prolog
Topic: Missing BGI library for PDC Prolog (yes, early 90s)
Replies: 11
Views: 4890

See if this works for you. It's from TP 3.3.1a.

I'd appreciate learning how you implement this library.
by Harrison Pratt
21 Sep 2008 15:25
Forum: Visual Prolog
Topic: Bug report ro VipSupport
Replies: 9
Views: 4458

Take a look at Developer's Backup: http://www.developersbackup.com/Home.asp It appears to have lots of useful features, but 90 revalidation could be a problem if the company stops supporting it . I use SyncBack http://www.2brightsparks.com/syncback/ It works well with large numbers of files -- I use...
by Harrison Pratt
18 Jan 2007 15:45
Forum: Visual Prolog
Topic: Formatting numbers with a thousand separator
Replies: 15
Views: 6352

I decided to re-attack this problem and clean up my original bulkly old approach. It's basically a string parsing problem with two exceptions to consider: (1) Is it a negative number, and (2) Is there a decimal to process. Again, VIP 5.2 code... PREDICATES num_comma( integer, string ) -(i,o) num_com...
by Harrison Pratt
17 Jan 2007 15:34
Forum: Visual Prolog
Topic: Formatting numbers with a thousand separator
Replies: 15
Views: 6352

Looks like a place for recursive string processing. Convert the number to a string, split it into "FRONT.BACK" and recursively process FRONT from right to left. If you have a clause to insert a string at a specified index in the source string, you could use that to stuff some commas into the appropr...