| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
STD:Top File
Each Bunao script must begin with STD:Top File. It is the only
module at the top level of the script hierarchy, and is the first module
that Bunao evaluates when running a script. All of its children are
globule definitions. See section STD:Globule Definition.
Use the Main Glob field to set the name of the globule that Bunao
should execute first. By default, this is set to `Main' (and the
STD:Globule Definition module defining `Main' is already
created as the first child below STD:Top File.
The checkbox Allow standalone Unix shell execution lets this
Bunao module be executed simply by typing its name at the command line.
For example, to execute a script saved as `myscript.tcl', simply
type:
|
Without the standalone option enabled, the script must be explicitly
passed as an argument to the Tcl interpreter, tclsh:
|
By default, standalone execution is enabled.
STD:Top File user interface:

STD:Top File attribute list:
| Attribute | Type | Default | Description |
mainglob |
globule name | `Main' | name of first globule to run |
shellbang |
boolean | `1' | enable standalone execution |