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

[REBOL] A datatype puzzle

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.