ultimatepp/uppdev/Test/test.usc
cxl 3cd394812c Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

27 lines
277 B
Text

bin(x)
{
r = "";
q = 0x8000000;
while(q) {
r[] = (x & q) ? '1' : '0';
q = q >> 1;
}
return r;
}
test()
{
x.a = 10 * ["ahoj"];
x.b = x;
x.c = x;
return x;
}
test1()
{
x = [10 * "ahoj"];
x[] = 22;
x[1] = x;
x[1][1] = x;
return x;
}