On 08.05.2008, at 18:02, Matthew Smith wrote: > set s1 [Stack new] > > s1 push a > s1 push b > > set x [s1 pop] > puts "The popped value is $x" Try this: Stack s1 s1 push a s1 push b set x [s1 pop] puts "The popped value is $x"