Hi Jim,
>Hi Elan,
>
>Gee, you really just need to open the file with /lines. The default is read
>and write. ;-)
>
you may want to hint at that in the info returned by help open ;-)
>> help open
Opens a new port connection.
Arguments:
spec -- (file url port object block)
Refinements:
/binary -- Preserves contents exactly.
/string -- Translates all line terminators.
/direct -- Opens the port without buffering.
/new -- Creates a file. (Need not already exist.)
/read -- Read only. Disables write operations.
/write -- Write only. Disables read operations.
/wait -- Waits for data.
/lines -- Handles data as lines.
/with -- Specifies alternate line termination.
end-of-line -- (char string)
/allow -- Specifies the protection attributes when created.
access -- (block)
/mode -- Block of above refinements.
args -- (block)
/custom -- Allows special refinements.
params -- (block)
;- Elan >> [: - )]
- [REBOL] [REBOL] Reading text a line at a time tjohnson
- [REBOL] [REBOL] Reading text a line at a time Re: allenk
- [REBOL] [REBOL] Reading text a line at a time Re: Al . Bri
- [REBOL] [REBOL] Reading text a line at a time Re: icimjs
- [REBOL] [REBOL] Updating a file as a port tjohnson
- [REBOL] [REBOL] Updating a file as a port Re... icimjs
- [REBOL] [REBOL] Updating a file as a por... jimg
- [REBOL] [REBOL]Update file as port/Secur... tjohnson
- [REBOL] [REBOL]Update file as port/... icimjs
- [REBOL] [REBOL]Update file as port/... tjohnson
- [REBOL] Update file as port/Securit... icimjs
- [REBOL] Update file as port/Securit... jimg
- [REBOL] Update file as port/Securit... Petr . Krenzelok
- [REBOL] Update file as port/Securit... icimjs
- [REBOL] Update file as port/Securit... joel . neely
- [REBOL] [REBOL]FTP Read/Write probl... tjohnson
- [REBOL] [REBOL]FTP Read/Write probl... Al . Bri
