I am a little bit confused about the after command.
For instance, in the following code:
after 1000; puts 1; after 1000; puts 2; after 1000; puts 3
I want to wait a second then print 1 then wait another second then print 2 and so on. But when I tried it out on WISH83 console, it waits 3 seconds then prints out
1
2
3
Is this behaviour correct?
For instance, in the following code:
after 1000; puts 1; after 1000; puts 2; after 1000; puts 3
I want to wait a second then print 1 then wait another second then print 2 and so on. But when I tried it out on WISH83 console, it waits 3 seconds then prints out
1
2
3
Is this behaviour correct?