LotusScript library design elements
Table of contents
LotusScript libraries are useful in organizing various functions and subroutines that you have in a database. For example, you might have a library called Globals
that stores all your common code. You might also have a library called WebFormValidation
that stores all your form validation code.
When using the LotusScript library design elements, keep the following points in mind:
- Always use the "option declare" in the Options section of the script library. This option requires that all variables are declared, but in return, you know for sure that there will not be any typos on the variable names.
- A "Use or UseLSX" error message sometimes appear when saving a script library. Try recompiling all LotusScript (Tools -> Recompile All LotusScript)