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

[REBOL] Re: How to create none! in nested block?

From: gscottjones:mchsi at: 19-Jun-2002 13:16

From: "Robert M. Muench"
> Hi, I have the following problem: > > test: [[myword none]] > print [type? test/1/2 none? test1/1/2] > >>word false > > I would like to get > >>none true > > Any idea how to do this? Robert
Hi, Robert, Here is one way:
>> test: append/only copy [] append [myword] none
== [[myword none]]
>> print [type? test/1/2 none? test/1/2]
none true I am sure that there are others. Hope this helps. --Scott Jones