REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: update

update  port

Updates the port's external state to match internal state (normally after read/write).

Arguments:

port [port!]

See also:

read   write   insert   remove   query  

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


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin