ncsa / qdl

the QDL programming language
Other
1 stars 0 forks source link

Allow scan() to operate multiple times. #12

Closed jjg-123 closed 1 year ago

jjg-123 commented 1 year ago

Currently scan() will not re-evaluate because of issues in ANSI mode. Make sure that something like while[true][ if[scan('ok?') == 'yes'][return();]; ]; works. I.e. a loop that is waiting for the right information before exiting should evaluate on each iteration of the loop.