xo::library proc require (public)

 xo::library[i] require [ -package package ] filename

Defined in /var/www/openacs.org/packages/xotcl-core/tcl/04-library-procs.tcl

Use this method to indicate when some other files (from the same package) are needed to be sourced before the current file. This method is useful in cases where the alphabetical loading order is a problem. A typical use-case is a file defining a subclass of another class. In this case, the file defining the subclass will require the definition of the base class.

Switches:
-package (optional)
Parameters:
filename (required)
filename without path and .tcl suffix

Testcases:
No testcase defined.
[ show source ]
Show another procedure: