When a script is evaluated, it has access to information about itself. This
is found in the system/script object. The object contains the fields
listed in [bad-link:concepts/object.txt] Fields for
The header object of the script. This can be used to
access the script's title, author, version, date, and other
If the script was evaluated from another script, this is the
system/script object for the parent script.
The file directory path or URL to the script being evaluated.
The arguments to the script. These are passed from the
operating system command line or from the do function that
was used to evaluate the script.
Examples of using the script object are:
The last example evaluates a script called script.r in the same
directory as the script that is currently running.