Lee,

Here's from a rebol console session:
>> type? ask "name "
name filename
=3D=3D string!
>> type? to-file ask "name "
name filename
=3D=3D file!

all you need is 'to-file.

HY

Dixit Lee Peters (23.26 18.05.2005):
>I run the program below
>
>rebol[]
>
> file: ask "name "
>
>=20
>
>    text: read/binary file
>
>    replace text "/cs/conn" "rebol"
>
>    write file text
>
>=20
>
>and get the following
>
>=20
>
>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
>
>>>=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.
>
>Does anyone see my error.=20
>
>=20
>
>Thank for any help.
>
>
>
>--=20
>To unsubscribe from the list, just send an email to=20
>lists at rebol.com with unsubscribe as the subject.

Pr=E6tera censeo Carthaginem esse delendam

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

Reply via email to