LREMisc - guiled/LRE GitHub Wiki
Misc
LRE provides some general functions that can be useful.
firstInit
Like the basic init()
function, LRE provides a way to run an init only once for a sheet. This can be useful if you want to prepare some component for the very beginning. Use this function in your script like this :
// At the same level than init
firstInit = function (sheet) {
/*
your code here
*/
return true; // true means that the first Init has be done and won't be done again
};
If firstInit
returns true
then it won't be launched on this sheet again. If it returns false
the firstInit
will be launched on the next table reload.
setLogLevel autoNum autoTransl numToAlpha alphaToNum isObject ...