Search found 10 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: 319

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

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

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

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

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

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...
by Mike Wernicki
19 Jan 2012 8:09
Forum: Visual Prolog
Topic: Changing file headers
Replies: 4
Views: 2145

Update

The Copyright and Company field in the "File Version" tab under "Project" then "Settings" selection are displayed as header information on all source files. The help button provides a lot of useful information. From the help description, it is not always clear where the information is finally stored...
by Mike Wernicki
19 Jan 2012 7:32
Forum: Visual Prolog
Topic: Changing file headers
Replies: 4
Views: 2145

Changing file headers

A header is place on every source file generated by Visual Prolog. For example in my case, it is my company and the copyright notice. This is a great convenience. I've not found a way to change the header other than doing it manually for each and every file. If there is some documentation on how to ...
by Mike Wernicki
17 Jan 2012 5:40
Forum: Visual Prolog
Topic: License Agreement
Replies: 3
Views: 1654

It seems to be an impossible requirement to satisfied. With sufficient skill, equipment, and effort any technique to embed code can be circumvented. A statement in the license of the software could state that the executable code can only be used in the application and cannot be embedded in any other...
by Mike Wernicki
16 Jan 2012 6:09
Forum: Visual Prolog
Topic: License Agreement
Replies: 3
Views: 1654

License Agreement

In part (a) "Using the Software" section of the "License Agreement" for your commercial product, the following is stated: (a) embed the code in such a manner as to prevent its extraction or access from your products in a form that would allow it to be embedded in another executable application; Prov...