I don't know why this simple code don't work in Moose/Smaltalk version 4.5
| counter |
counter := 0.
[ counter < 100 ] whileTrue:
[ counter := counter + 1.
Beeper beep ]
I believe the sytax is correct, but when I try to excute this an error message is sent.
Doesn't exist while loop?
I don't undesrtand what's happening.