ultimatepp/uppdev/Test/test.usc
cxl 351994a6cc Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +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;
}