I would like to do the program in Prolog that allows its user to execute any procedure he wants to in that way:
1. The program reads from the keyboard the procedure that the user wants to execute (it's simple).
2. After that the Prolog sholud run that procedure. For example: user writes...
Hello to everybody.
I wonder how to get the current time from Prolog. I know how to get current date, but can't do that with the time. I want to get 3 variables (Hour, Minutes, Secs).
Thanks for help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.