Rebol Programming/get-modes

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

USAGE:

[edit | edit source]
GET-MODES target modes 

DESCRIPTION:

[edit | edit source]

Returns mode settings for a port.

GET-MODES is a native value.

ARGUMENTS

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

SOURCE CODE

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