REBOL Programming/get-modes

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

USAGE:[edit]

GET-MODES target modes 

DESCRIPTION:[edit]

Returns mode settings for a port.

GET-MODES is a native value.

ARGUMENTS[edit]

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

SOURCE CODE[edit]

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