fork download
  1. Integer count = 1;
  2.  
  3. do {
  4. System.debug(count);
  5. count++;
  6. } while (count < 11);
Success #stdin #stdout #stderr 0.01s 8960KB
stdin
Standard input is empty
stdout
Object: Integer error: did not understand #count
MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254)
Integer class(Object)>>doesNotUnderstand: #count (SysExcept.st:1448)
UndefinedObject>>executeStatements (prog:1)
stderr
./prog:4: parse error, expected '}'