[REBOL] Re: 'Parse is peculiar!
From: al:bri:xtra at: 14-Dec-2000 22:05
> A nicer way would be:
> >> parse line1 [thru {"} copy Name to ["<" 4 digits {>"}] end (print
Name)]
> ** Script Error: Invalid argument: < 4 digits >"
> ** Near: parse line1 [thru {"} copy Name to ["<" 4 digits {>"}] end (print
Name)]
And better still might be:
parse line1 [thru {"} copy Name to ["<" 4 digits {>"}] to end (print
Name)]
Note the 'to before 'end.
Andrew Martin
My excuse is I forgot...
ICQ: 26227169 http://members.nbci.com/AndrewMartin/