Helma logo
helma.org » Home > Stories > defineLibraryScope()

defineLibraryScope()

Declares a custom global namespace that will not be garbage collected.

Syntax
defineLibraryScope(String)

The string that is passed as argument is the name of the namespace that is to be protected from garbage collection.

Note that global variables that are referenced in the global scope (not inside of a function) are set or read during compile time and are automatically protected from garbage collection.


... comment


Page last modified on 2006-09-23 20:14 by czv