t wrote:
> Well, I get this error
>
> Script Error: read expected source argument of type: file url object block.
>
> when I do
>
> write %file read word
>
> when I simply print word, (from the console) what I want to read pops
> right out.
Maybe you just want to do
write %file word
Eric
Assuming that word is a string, try:
write %file word
if word a file:
write %file read %word
if word is a string holding a file name:
write %file read to-file word
Also, check the docs for 'read.
Hope this helps.
--
Andrew Grossman
http://web.dartmouth.edu/~grossman/
--- [EMAIL PROTECTED]
t wrote:
> Well, I get this error
>
> Script Error: read expected source argument of type: file url object
block.
>
> when I do
>
> write %file read word
>
> when I simply print word, (from the console) what I want to read pops
right out.
I sure I don't understand what you're trying to say
[EMAIL PROTECTED] wrote:
>
> If you don't want the extra set of quotes, use write instead of save.
>
Well, I get this error
Script Error: read expected source argument of type: file url object
block.
when I do
write %file read word
when I simply print word, (from the console) what I want
If you don't want the extra set of quotes, use write instead of save.
*** REPLY SEPARATOR ***
On 12/13/1999 at 7:25 AM [EMAIL PROTECTED] wrote:
howdy guys,
Ok, I've got this line:
save %thisisatest.html a9
the save command has stuck string brackets around the entire file.
o
You might want to try the 'write word to save a string, such as concatenated files, to
a file as-is.
--
Andrew Grossman
http://web.dartmouth.edu/~grossman/
--- [EMAIL PROTECTED] wrote:
the save command has stuck string brackets around the entire file.
other than that "a9" saves to that file ni