1 #PACKAGE custom 2 #ACCEPT Date = 04/03/2021; 3 #OPTION ResultClass ON 4 5public Number SumMethod() { 6 // this is a comment 7 type public Number x 8 set x = 10.0 9 type String thisIsAString = "this"_x_"conjoined" 10 type String i = "" 11 type Date sysDate = %SystemDate 12 type Boolean publicVar = .PubBoolean 13 for set i = ^UTBL("test",i).order() quit:i.isNull() { 14 set x = x + i 15 } 16 set x = x + $$getMore^ProcedureName("AAA") 17 do finishTask(x, "AAA") 18 19 quit