Hi Dipayan, you wrote:
>str: make string! read %infile.txt
>replace/all infile "X" "Y"
>
>I get the error: replace has no value.
>What is the problem here ?
>Thanks.

Are you sure your error message refers to 'replace? You should be getting
the error message: "infile has no value". The file was called %infile.txt
but the word you use to reference its contents is 'str. Try

replace/all str "X" "Y"

Hope this helps,

Elan

Reply via email to