sym_register [function]

sym_register( string name, var )

Register a persistent item (symbol) by the specified name.

myfunc = function(){};
sym_register( "myfunc", myfunc );