REBOL Programming/write

< REBOL Programming

USAGE:

WRITE destination value /binary /string /direct /append /no-wait /lines /part size /with end-of-line /allow access /mode args /custom params

DESCRIPTION:

Writes to a file, url, or port-spec (block or object).

WRITE is a native value.

ARGUMENTS

REFINEMENTS

SOURCE CODE

write: native[
    {Writes to a file, url, or port-spec (block or object).} 
    destination [file! url! object! block!] 
    value 
    /binary "Preserves contents exactly." 
    /string "Translates all line terminators." 
    /direct "Opens the port without buffering." 
    /append "Writes to the end of an existing file." 
    /no-wait "Returns immediately without waiting if no data." 
    /lines "Handles data as lines." 
    /part "Reads a specified amount of data." 
    size [number!] 
    /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!]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.