add program NAME downloadable; |
If the downloadable
clause is not used,
notdownloadable
is assumed.
Due to the restriction that downloaded programs must execute in a deferred mode, there are several cases that need to be addressed by system logic. If just the
Downloadable
clause is given, then
deferred
is assumed (for more information, see Execute Clause for the Add Program Command). If the
downloadable
clause is given, and the
execute
clause is
immediate
, an error will be generated. Likewise, if on program modification command a mismatch occurs, an error will be generated that reads:
A program that is downloaded cannot execute immediately.
The
Usesexternalinterface
clause
continues to be supported for historical reasons. Scripts and programs that use this clause result in Program objects which have their
execute
flag set to
deferred
and their
downloadable
flag set.
Java Program Objects cannot be downloadable.