REBOL Programming/set-modes

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

SET-MODES target modes 

DESCRIPTION:[edit]

Changes mode settings for a port.

SET-MODES is a native value.

ARGUMENTS[edit]

  • target -- (Type: file url block port)
  • modes -- (Type: block)

SOURCE CODE[edit]

set-modes: native[
    "Changes mode settings for a port." 
    target [file! url! block! port!] 
    modes [block!]
]