Page 1 of 1

Posted: 24 Oct 2016 10:09
by archit507
Hi sir.. I read the article on msql and visual prolog. I have completed all the steps. As it is said to copy the given code and paste it inn .pro file in visual prolog, I have done the same and when I'm executing it's showing like e150 syntax error. The error is at starting like of predicates. Can you please solve me regarding this issue. It's urgent.

Posted: 25 Oct 2016 9:38
by Thomas Linder Puls
It is impossible to assist with that question unless you show the code that the compiler complains about.

The syntax of the language is described in the language reference.

But it is always a good idea to go through the getting started article and the Tutorials.

Posted: 27 Oct 2016 9:21
by archit507
Do you have any document on how we can connect prolog with mysql database.

http://wiki.visual-prolog.com/index.php?title=MySQL

I have gone through above link and completed 1st 3steps as shown there.

I got stuck at 4th step. Can you please tell me how I can use that code in visual prolog and get connected to Mysql database.

Posted: 27 Oct 2016 20:36
by Thomas Linder Puls
The code in the wiki works; I have just tested it.

So I guess your problem is that you don't know how to make a Visual Prolog program, etc.

For that I will suggest hat you go through the Tutorials.

Posted: 28 Oct 2016 18:36
by archit507
Thank you.. I will go through the tutorials.

Posted: 1 Nov 2016 18:27
by archit507
Can I connect to database by using visual prolog personal edition? or do i need to work on visual prolog commercial edition?

Posted: 2 Nov 2016 15:33
by Thomas Linder Puls
Yes, you will need the Commercial Edition to connect to an SQL database.

It will be ODBC Support in this list: Visual Prolog Editions Comparison.

Posted: 7 Nov 2016 10:16
by archit507
Thank you for the information.