You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kjsembed/tests/test_gc.js

22 lines
352 B

print( "Hello World" )
var arr = new Array();
for( var idx = 0; idx < 500; ++idx )
{
arr[idx] = new TQLabel(this);
arr[idx].text = "foo " + idx;
}
for( var idx = 0; idx < 500; ++idx )
{
println( arr[idx].text );
arr[idx] = new TQLabel(this);
arr[idx].text = "bar " + idx;
}
for( var idx = 0; idx < 500; ++idx )
{
println( arr[idx].text );
}