Hi,

I had a similar problem. Then I looked in my %user.r file, and discovered
that I had long ago entered a "replace" function there and forgot about it.
I removed it, and the built in "replace" works fine now. Could you have
redefined the function somehow?

Regards,


Bernie Schneider
CIBER, Inc.
303-224-4159
[EMAIL PROTECTED]

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, November 03, 1999 8:00 AM
> To:   [EMAIL PROTECTED]
> Subject:      [REBOL] replace..?
> 
> I'm running this example script from the rebol home page
> 
> numbers: [1 2 3 4 5 6 7 8 9]
> replace numbers [4 5 6] ["four" "five" "six"]
> print numbers
> 
> with the following results....whats up?
> >> numbers: [1 2 3 4 5 6 7 8 9]replace numbers [4 5 6] ["four" "five"
> "six"]
> ** Script Error: replace has no value.
> ** Where: replace numbers [4 5 6] ["four" "five" "six"]
> >>
> >> print numbers
> 1 2 3 4 5 6 7 8 9
> >>
> Sorry If I'm asking some basic questions, but all this is new to me :)
> Cheers
> Francois

Reply via email to