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

[REBOL] Re: to-string do question?

From: g:santilli:tiscalinet:it at: 22-Jul-2003 14:14

Hi Bryan, On Tuesday, July 22, 2003, 1:38:58 PM, you wrote: b> actually I tried with: b> if error? try[returnstring: to-string do f1/text][returnstring: "True" b> [if/else error? try[do f1/text][returnstring: b> "False"]] b> is that wrong anywhere? I think you have IF and IF/ELSE swapped. Anyway, I'd do it as: returnstring: either error? try [set/any 'value do f1/text] [ "False" ] [ either value? 'value [to string! :value] ["True"] ] (BTW, why do you need it that way?) Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/