Function tea-autoload
tea-autoload name sourceFile
Registers the name of a function or TOS class to be
automatically defined the first time it is used.
- Parameters:
- name -
A symbol identifying the function or class.
- sourceFile -
A string with the name of the file that will be sourced when
the first reference to the function or class is made. The path name is
relative to one of the TEA_LIBRARY directorys.
-
Registers the file where a Tea function or TOS class is defined. This
information
will be used by the auto loading facility to read the file when
the given function or class is needed for the first time. The file should
contain code that defines the function or class, of course. The path of
the file is taken as being relative to one of the directorys in the
list stored in the TEA_LIBRARY variable.
Report a bug or request new features
© 2002