Using Beginners Guide for v7.2 with VIP v2.3

Discussions related to Visual Prolog
David Harris
Posts: 15
Joined: 14 Jun 2012 7:47

Using Beginners Guide for v7.2 with VIP v2.3

Unread post by David Harris » 17 Jun 2012 8:04

I am teaching myself VIP with the Beginners Guide by Thomas de Boer. The Guide is written for v7.2, but the current version of VIP (which I'm using) is 7.3. The guide works fine up to about page 98. However, using the book to write the "add a record" function will not compile. I've checked and double-checked, but I suspect some of the problem is differences between 7.2 and 7.3. Do you know of any problems that would do this?
Delta the Cat

User avatar
Thomas Linder Puls
VIP Member
Posts: 1632
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls » 17 Jun 2012 10:00

I think it will be better if you show the code you have written and the error that it gives.
Regards Thomas Linder Puls
PDC

David Harris
Posts: 15
Joined: 14 Jun 2012 7:47

Using Beginners Guide for v7.2 with VIP v2.3

Unread post by David Harris » 18 Jun 2012 1:37

Thanks for your rapid response.
Not sure of best way to provide you with code, so have provided a set of JPEG images of screen captures. One show the error reporting screen from attempting to build. The others are the result of double-clicking on each error to find it in the code. Hope this is enough.
Seems I can only send one image at a time, so here comes of them.
Attachments
Errors.JPG
Errors.JPG (48.8 KiB) Viewed 3249 times
Delta the Cat

David Harris
Posts: 15
Joined: 14 Jun 2012 7:47

Using Beginners Guide for v7.2 with VIP v2.3

Unread post by David Harris » 18 Jun 2012 1:38

Code for first error.
Attachments
Code1.JPG
Code1.JPG (60.36 KiB) Viewed 3247 times
Delta the Cat

David Harris
Posts: 15
Joined: 14 Jun 2012 7:47

Unread post by David Harris » 18 Jun 2012 1:40

Second error code.
Attachments
Code2.JPG
Code2.JPG (46.35 KiB) Viewed 3244 times
Delta the Cat

David Harris
Posts: 15
Joined: 14 Jun 2012 7:47

Unread post by David Harris » 18 Jun 2012 1:41

Third error code.
Attachments
Code3.JPG
Code3.JPG (53.47 KiB) Viewed 3242 times
Delta the Cat

David Harris
Posts: 15
Joined: 14 Jun 2012 7:47

Unread post by David Harris » 18 Jun 2012 1:42

Fourth error code.
Attachments
Code4.JPG
Code4.JPG (52.46 KiB) Viewed 3240 times
Delta the Cat

David Harris
Posts: 15
Joined: 14 Jun 2012 7:47

Unread post by David Harris » 18 Jun 2012 1:43

Fifth error code.
Attachments
Code5.JPG
Code5.JPG (51.87 KiB) Viewed 3238 times
Delta the Cat

David Harris
Posts: 15
Joined: 14 Jun 2012 7:47

Unread post by David Harris » 18 Jun 2012 1:44

Sixth error code. This is probably just a consequence of the other errors.
Attachments
Code6.JPG
Code6.JPG (60.24 KiB) Viewed 3236 times
Delta the Cat

David Harris
Posts: 15
Joined: 14 Jun 2012 7:47

Using Beginners Guide for v7.2 with VIP v2.3

Unread post by David Harris » 18 Jun 2012 4:51

STOP! STOP! I've found the problem!

In a predicate I had a _Source and needed a Source (ie, no_ ).
Delta the Cat

User avatar
Thomas Linder Puls
VIP Member
Posts: 1632
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls » 18 Jun 2012 7:13

:wink:

In future I suggest that you paste you code between [code]...[/code] tags instead of taking screen shots:
  • It is much easier for you
  • It makes it possible for us to copy paste from you code in the answers
Regards Thomas Linder Puls
PDC

Post Reply