Pages: 1
Topic closed
How big a stack? For up to 5 or 6 deep, it is probably easiest to use multiple variables,
as in the RPN_calculator, which has a stack of 4 values:
http://scratch.mit.edu/projects/kevin_karplus/2164
If you need a bigger stack, you'll probably have to store the information as colored objects on the screen. You're probably better off stamping tiny costumes than using the pen, as the pen is misaligned in the Squeak implementation:
http://scratch.mit.edu/projects/kevin_karplus/11090
Offline
Topic closed
Pages: 1