integer sub1=60; integer sub2=50; integer sub3=50 string result(Sub1<50||sub2<50||sub3<50)?'fail':'pass'; system.debug(result);
Standard input is empty
Object: nil error: did not understand #sub1 MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254) UndefinedObject(Object)>>doesNotUnderstand: #sub1 (SysExcept.st:1448) UndefinedObject>>executeStatements (prog:1) Object: nil error: did not understand #integer MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254) UndefinedObject(Object)>>doesNotUnderstand: #integer (SysExcept.st:1448) UndefinedObject>>executeStatements (prog:3) Object: 50 error: did not understand #string MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254) SmallInteger(Object)>>doesNotUnderstand: #string (SysExcept.st:1448) UndefinedObject>>executeStatements (prog:3) Object: nil error: did not understand #< MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254) UndefinedObject(Object)>>doesNotUnderstand: #< (SysExcept.st:1448) UndefinedObject>>executeStatements (prog:4)
./prog:4: expected expression