Rebol Programming/script?

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

USAGE:[edit | edit source]

SCRIPT? value 

DESCRIPTION:[edit | edit source]

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

SCRIPT? is a native value.

ARGUMENTS[edit | edit source]

  • value -- (Type: file url string)

SOURCE CODE[edit | edit source]

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