REBOL Document

Script? - Function Summary


Summary:

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

Usage:

script? value

Arguments:

value - The value argument. (must be: file url string)

Description:

If the header is found, the script string will be returned as of that point. If not found, then NONE is returned.


    print either script? %file.txt ["found"]["not found"]
    not found

Related:


<Back | Index | Next>

Copyright 2004 REBOL Technologies