Search found 6 matches

by Mike Wernicki
3 Jul 2020 18:27
Forum: Visual Prolog
Topic: Question about example in A Beginner's Guide to Visual Prolog
Replies: 8
Views: 2268

Re: Question about example in A Beginner's Guide to Visual Prolog

The write statements in the reply are an admirable way of illustrating how the input list is processed in the tail recursive example. The debugger also shows how the input list is processed. As described in one of the replies, the boundary condition (add1([], [].) rather than doing a comparison, as ...
by Mike Wernicki
30 Jun 2020 15:54
Forum: Visual Prolog
Topic: Question about example in A Beginner's Guide to Visual Prolog
Replies: 8
Views: 2268

Re: Question about example in A Beginner's Guide to Visual Prolog

To some extent, it provides the information I needed. The boundary condition: add1([],[]). Is another part of the question. I see how the first list ultimately resolved to the empty list. How does the output list resolve to the empty list? Unbound variable gets assigned the empty list []? Is there s...
by Mike Wernicki
30 Jun 2020 1:41
Forum: Visual Prolog
Topic: Question about example in A Beginner's Guide to Visual Prolog
Replies: 8
Views: 2268

Question about example in A Beginner's Guide to Visual Prolog

This is the command that calls the procedure add1: listmanager::add1([1,2,3,4], NewList), please note the NewList variable is unbound. The following add1 procedure adds 1 to each element of the input list [1,2,3,4]. It stores the information in the output list NewList. clauses add1([], []). /* bound...
by Mike Wernicki
9 Jun 2020 20:45
Forum: Visual Prolog
Topic: Tab Forms and VP9
Replies: 1
Views: 1707

Tab Forms and VP9

In Tyros 7.4 an example is given on how to insert a tab control. It uses the Yale Key in the Visual Editor. When I use the Yale Key in VP9, a number of selections are presented; however, none is the tab control. I would appreciate a hint on what is necessary to insert a tab control in VP9. An exampl...
by Mike Wernicki
17 May 2020 21:00
Forum: Visual Prolog
Topic: VP7.4 to VP9 Application
Replies: 4
Views: 2684

Re: VP7.4 to VP9 Application

Strangely enough notepad indicated most of the files were UTF-16 LE. There were only about 40 files. That only required about 20 minutes of repetitive work converting. Mostly ctl, i, and pro files. There were a few pack files which had the license information. There is little code depth to the progr...
by Mike Wernicki
16 May 2020 21:32
Forum: Visual Prolog
Topic: VP7.4 to VP9 Application
Replies: 4
Views: 2684

VP7.4 to VP9 Application

I'm converting a VP7.4 app to VP9. I've notices that the *.pro files once loaded into the VP9 editor show very few characters. I'm looking into whether there is some kind of 8 bit character versus 7 bit character difference. Using notepad to read the pro file, all the information is shown. Just to b...