How do I read an integer from the keyboard ?
I want to replace N = 4, by something like N = toInteger(stdio::readLine()),
but I get TaskWindow\TaskWindow.pro(40,14) error c229: Undeclared identifier 'toInteger/1->'
with N = math::toInteger(stdio::readLine()),
Code: Select all
Exception: noStream (com/visual-prolog/stream/stream_exception) The predicate has no stream assigned Predicate name = stdio::readLine
Thank you, bye.