RosettaCodeData/Task/Memory-allocation/Objeck/memory-allocation.objeck
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

3 lines
173 B
Text

foo := Object->New(); // allocates an object on the heap
foo_array := Int->New[size]; // allocates an integer array on the heap
x := 0; // allocates an integer on the stack