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

A datatype puzzle

 [1/3] from: larry::ecotope::com at: 30-Jul-2000 17:30

Hi all Playing around with REBOL datatypes, I created a (slightly perverse) puzzle. I made a block! referenced by 'blk which shows these properties at the console:
>> blk
== []
>> print blk >> length? blk
== 1
>> first blk >> get to-word first blk
== 30-Jul-2000/17:06:27-7:00
>> x: 1234
== 1234
>> get to-word first blk
== 1234
>> blk
== [] Now the puzzle part. How did I create the block? Is there a bug here somewhere? Cheers -Larry Hint: I only used datatypes, no user functions or objects were created.

 [2/3] from: lmecir:geocities at: 31-Jul-2000 9:47

Hi Larry, VERY interesting. Can't wait to see what you have done. Regards Ladislav

 [3/3] from: bhandley:zip:au at: 4-Aug-2000 21:40

C'mon Larry time to 'fess up! Brett. BTW Ta for your kind words earlier.