No registered users in community xowiki
in last 10 minutes
in last 10 minutes
Re: [Xotcl] proper way to access xotcl classes
From: Vasiljevic Zoran <zv_at_archiware.com>
Date: Thu, 8 May 2008 18:14:10 +0200
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"
Date: Thu, 8 May 2008 18:14:10 +0200
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"