#.require. clr @platform clr class Test def main is shared print 1 print 1, 2, 3 print 1 stop print 2 stop print 3 print to Console.out, 1, 2, 3 print to Console.out print 123 sw as StringWriter = StringWriter() print to sw, 1, 2 assert sw.toString.trim == '1 2' assert sw.toString <> sw.toString.trim sw = StringWriter() print to sw, 1, 2 stop assert sw.toString == '1 2' assert sw.toString == sw.toString.trim