pushclasstest.frink

Download or view 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]]


Download or view 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 20139 days, 8 hours, 3 minutes ago.