I'm not sure, i am running it over SSH Secure Shell.
$ prolog
xsb -i
[xsb_configuration loaded]
[sysinitrc loaded]
[packaging loaded]
XSB Version 2.6 (Duff) of June 24, 2003
[sparc-sun-solaris2.9; mode: optimal; engine: slg-wam; gc: indirection; scheduling: local]
the fmt_read("%s",X,_)...
Hey guys, I'm trying to get an input from the user as a string consisting only of numbers and converting it to a list of integers. I can read the string in and convert it to a list of characters but i don't know how to convert these characters to integers, or how to convert the origional string...
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.