pushclasstest.frink

View or download pushclasstest.frink in plain text format


class test
{
   var num = 1;
   
   new[mnum] :=
   {
      num = mnum;
   }
}

a = new test[1];
b = new test[2];

arr = new array;

println["Starting"];
arr.push[xxx]
println[arr];
arr.push[b];
println[arr];
arr.push[a];
println[arr];
arr.push[1]
println[arr];

println[length[arr]]


View or download pushclasstest.frink in plain text format


This is a program written in the programming language Frink.
For more information, view the Frink Documentation or see More Sample Frink Programs.

Alan Eliasen was born 17591 days, 17 hours, 46 minutes ago.