[Xotcl] proper way to access xotcl classes

Matthew Smith chedderslam at gmail.com
Thu May 8 18:17:07 CEST 2008


That got it.  Thank you.

On Thu, May 8, 2008 at 11:14 AM, Vasiljevic Zoran <zv at archiware.com> wrote:

>
> 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"
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://alice.wu-wien.ac.at/pipermail/xotcl/attachments/20080508/97222faf/attachment.html 


More information about the Xotcl mailing list