REBOL Programming/script?

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

USAGE:[edit]

SCRIPT? value 

DESCRIPTION:[edit]

Checks file, url, or string for a valid script header.

SCRIPT? is a native value.

ARGUMENTS[edit]

  • value -- (Type: file url string)

SOURCE CODE[edit]

script?: native[
    {Checks file, url, or string for a valid script header.} 
    value [file! url! string!]
]