ultimatepp/autotest/EscTest/script.esc
cxl 8e128bf68e .autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@10420 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-11-12 19:52:08 +00:00

21 lines
258 B
Text

main() {
Print("Hello world!");
x = {};
x.a = 123;
x.b = "Hello!";
:out = x;
x.foo = @(x) { .a = x; };
x.foo("test");
:out2 = x.a;
:out3 = [];
for(i = 0; i < 10; i++)
:out3[] = i;
a = Zero();
if(a == 0)
:out4 = 1;
}