For Programmers: Free Programming Magazines  


Home > Archive > Prolog > April 2005 > new console/ thread in swi prolog









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author new console/ thread in swi prolog
afaq

2005-04-03, 9:45 am

Im creating the expert system for a medical centre, its my final year project.
Its going well, and i wonder if you could help me with some very quickly.

I need my prolog window, to open a new thread, this is done with the command interactor/0 , but this just opens a blank thread, what i need it to do is load the new thread and run a pro. code. bascially one thread calls another one which in turn starts and and runs another program, so the second thread will need to do any commant such as " write('this is your second window from which you can use prolog')"

is there such a method?

thank you very much for your help,

(im using swi prolog)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com