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

[REBOL] Re: Rebol pickling recipes ?

From: anton:lexicon at: 5-Oct-2002 11:50

The difference is that datatype information is lost sometimes. See: type? load mold none ; == word! type? load mold/all none ; == none! mold converted none to a string! "none", then load converted it to a word! 'none. mold/all converted none to a special new syntax which load understands and which preserves the datatype information: "#[none]" Now when that is loaded you get the true rebol value that you started with: none, which has datatype none! Other values also have the same problem, and are solved in the same way. The /all refinement of mold is only available in the latest betas, and in Rebol/Base. Anton.