http://t3x.org/t3x/hello-world.html (light|dark)
module hello(t3x);
object t[t3x];
do
t.write(T3X.SYSOUT, "Hello, World!\n", 14);
end
module hello(util);
object u[util];
do
u.printf("Hello, %S!\n", ["World"]);
end
This version also outputs the proper newline sequence of the target operating system.
module hello3(t3x, string);
object t[t3x], str[string];
writes(s) t.write(T3X.SYSOUT, s, str.length(s));
do var nl::3;
writes("Hello, World!");
writes(t.newline(nl));
end