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