Try changing this line:

text: read/binary file

to:

text: read/binary to file! file

HTH!!
~~Ammon ;~>


On 5/18/05, Lee Peters <[EMAIL PROTECTED]> wrote:
> I run the program below
>=20
> rebol[]
>=20
>  file: ask "name "
>=20
>     text: read/binary file
>=20
>     replace text "/cs/conn" "rebol"
>=20
>     write file text
>=20
> and get the following
>=20
> name %new.htm
>=20
> ** Script Error: read expected source argument of type: file url object
> block
>=20
> ** Where: do-boot
>=20
> ** Near: text: read/binary file
>=20
> replace text
>=20
> >>
>=20
> 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.
>=20
> Does anyone see my error.
>=20
> Thank for any help.
>=20
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>=20
>
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to