Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: struct vs OO vs language

From: al:bri:xtra at: 27-Sep-2001 17:01

And to make my point a bit more clearer: Now that I have a 'pop and 'push word, I can create the equivalent of a queue by:
>> Q: []
== []
>> append Q 1
== [1]
>> append Q 2
== [1 2]
>> append Q 3
== [1 2 3]
>> pop Q
== 1
>> pop Q
== 2
>> pop Q
== 3 :-) Andrew Martin ICQ: 26227169 http://zen.scripterz.org