REBOL Programming/query

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

USAGE:[edit]

QUERY target /clear 

DESCRIPTION:[edit]

Returns information about a file or URL.

QUERY is a native value.

ARGUMENTS:[edit]

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

REFINEMENTS:[edit]

  • /clear -- Clear modified state of target object

SOURCE CODE[edit]

query: native[
    "Returns information about a file or URL." 
    target [file! url! block! port! object!] 
    /clear "Clear modified state of target object"
]