With the exception of the
Uses clause, DelphiScript does not recognize any
element of unit structure. Units are simply collections of scripts, any of which
may be called by the user, by a script in another unit, or by a script in the
current unit. The following keywords have no effect:
initialization keywords cause an error; the others are simply ignored.
uses clause is adopted from Object Pascal, as it is necessary
to allow external calls to be resolved (in other words, to allow the interpreter
to jump from the current unit to another one, from which a script is being
called in the current one). See Calling
Routines and Variables Declared in Another Unit.
in directive in
uses is ignored.