- Posted by Jim Roberts <jhroberts1 at JUNO.COM> Nov 01, 1998
- 2404 views
I am using wait_key to enter a number value from the keyboard.
i = wait_key()
I then use i as follows:
for j = 1 to i do
For some unknown reason the loop does not end on the number I keyed in
which should be the value of i. For example, I might key in 5 and the
program aborts when j reachs 11 or some other number greater than 5..
Is there any particular way I should initiate i such as an object or
integer or atom?
Thanks,
Jim Roberts

