[REBOL] Newbie Parse Problem!
From: garymiller::starband::net at: 3-Jul-2002 14:17
I have the following code fragment.
All I get at the end is false.
After reading the manual examples it seems as if I should
at get 1, 2 and 3 printed. I'm not even getting 1!
I'm obviously missing something.
==================
UserInput: "hello there!"
punctuation: charset [#"," #"." #"/" #"\" #"!"]
parse UserInput [
to "hello" | "hi" | "howdy" {print 1}
to "there" | punctuation {print 2}
to punctuation {print 3}
]
_____________________________________
Think you can't get high-speed Internet? Now you can!
StarBand offers high-speed Internet via satellite.
No phone lines needed. New lower prices. For all 50 U.S. States. See for yourself at:
http://www.StarBand.com