REBOL Document

Update - Function Summary


Summary:

Updates the data related to a port.

Usage:

update port

Arguments:

port - The port argument. (must be: port)

Description:

Updates the input or output of a port. If input is expected, the port is checked for more input. If output is pending then that output is written.


    out: open/new %trash.me
    insert out "this is a test"
    update out
    insert out "this is just a test"
    close out

Related:

insert - Inserts a value into a series and returns the series after the insert.
query - Returns information about a file or URL.
read - Reads from a file, url, or port-spec (block or object).
remove - Removes value(s) from a series and returns after the remove.
write - Writes to a file, url, or port-spec (block or object).


<Back | Index | Next>

Copyright 2004 REBOL Technologies