I run the program below

rebol[]

 file: ask "name "

 

    text: read/binary file

    replace text "/cs/conn" "rebol"

    write file text

 

and get the following

 

name %new.htm

** Script Error: read expected source argument of type: file url object
block

** Where: do-boot

** Near: text: read/binary file

replace text

>> 

If I hard code the file in, it runs fine.  If I try to get the same name
file from the screen, it blows up.

Does anyone see my error. 

 

Thank for any help.



-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to