Rebol Programming/set-modes

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:

[edit | edit source]
SET-MODES target modes 

DESCRIPTION:

[edit | edit source]

Changes mode settings for a port.

SET-MODES is a native value.

ARGUMENTS

[edit | edit source]
  • target -- (Type: file url block port)
  • modes -- (Type: block)

SOURCE CODE

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