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

[REBOL] Re: REBOL/View 1.3 - invalid word datatype

From: rebol-list2:seznam:cz at: 16-Dec-2003 18:09

Hello Gabriele, Tuesday, December 16, 2003, 10:35:37 AM, you wrote: GS> Hi rebOldes, GS> On Monday, December 15, 2003, 2:50:06 PM, you wrote: r>> I think the best way would be to handle these 'invalid' words as a r>> special word which would not be able to hold some values but I would r>> be able to parse this word as a normal string. GS> You can use string parsing and then convert the strings to words. GS> (You could even just use LOAD/NEXT and then use To-WORD when an GS> invalid word error occurs.) I can, but it's much more slower and it would mean to make it completely again. Maybe I could use load/next but how to convert invalid word to word? I would like to have at least special load refinement to convert invalid words to something usable (strings are not the best solution, because than I may have problem recognize if it was normal string or just a variable which was not parsed as a normal datatype - that means I would like to have something I what I call 'invalid datatype' But it looks that i will have to wait a few years (if I would have a luck a something will happen) GS> Regards, GS> Gabriele. GS> -- GS> Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer GS> Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/ -- Best regards, rebOldes -----------------[ http://oldes.multimedia.cz/ ]