[REBOL] saving stuff Re:

1999-12-14 Thread KGD03011
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

[REBOL] saving stuff Re:(3)

1999-12-14 Thread Andrew . M . Grossman
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]

[REBOL] saving stuff Re:(3)

1999-12-14 Thread Al . Bri
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

[REBOL] saving stuff Re:(2)

1999-12-14 Thread hmf
[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

[REBOL] saving stuff Re:

1999-12-14 Thread news . ted
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

[REBOL] saving stuff Re:

1999-12-13 Thread Andrew . M . Grossman
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