Script ::= |
( UsageDeclaration | ImportStatement | Directives | ConstantDefinition | ClassDefinition | JavaExtensionDefinition | FunctionDeclaration | ThreadDeclaration | StaticJavaFunctionDeclaration | SgmlHandlerDeclaration | Statement | catch | finally )* ( EndScript LOCALDATA )? |
Used by: |
A script, or program, is a series of Statements and declarations. References (including function invocations) to declarations can appear before declarations.
In this global scope, catch and/or finally can be specified. The finally clause must appear after catch , if catch is present.
Text data can be attached to the script, starting from the next line
following keyword EndScript . The free form text, represented as
LOCALDATA , can be read via the built-in stream object,