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

[REBOL] Re: can't quite get it right...

From: g::santilli::tiscalinet::it at: 31-Dec-2002 11:31

Hi Carl, On Tuesday, December 31, 2002, 7:26:57 AM, you wrote: CR> Or is there a word in REBOL that already allows us to do this?
>> up-chars: charset [#"A" - #"Z"] >> parse "ABC" [some up-chars]
== true
>> parse "AbC" [some up-chars]
== false
>> parse "ABC++" [some up-chars]
== false
>> parse ["a" 1 "b" 2] [to number! to end]
== true
>> parse ["a" "1" "b" "2"] [to number! to end]
== false Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r