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

[REBOL] loading logic! values...

From: maximo:meteorstudios at: 13-Jan-2004 18:14

has anyone noticed that logic values do not keep their types when saved and reloaded. yep when they are reloaded they become word (always?) values.!!! this is especially bad in a situation where code is saved and is the block to define an object. try this: --------- blk: compose [(true)] outer-blk: compose/only [a (blk)] probe outer-blk print type? outer-blk/a/1 ==logic then: newblk: mold outer-blk probe newblk b: load newblk probe b probe type? b/a/1 == word! This is giving me headaches... loading back saved files changes the types of data elements for which I have to react to type. does anyone have an idea ?! -MAx --- You can either be part of the problem or part of the solution, but in the end, being part of the problem is much more fun.