new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu