Calling the Script Library
The Script Library must be created before it can be called. It can be called using this syntax:
Dim scr As <LibraryScriptName> = new <LibraryScriptName>(Me)
      Example
For this example, the syntax is shown here.
Dim Addset As ADDSETS = new ADDSETS(Me)
 
		       In this example, a Formula Copy Method calls the 
		  ADDSETS Script Library. The 
		  ADDSETS script adds the 
		  SNACKS Classification set to the newly copied formula.
		  
		
Function execute( ) As Long
Dim _returnvalue As Long
‘Call the library script function Addset.AddSnacks( )
Dim Addset As ADDSETS = new ADDSETS(Me)
addset.AddSnacks( )
Return _returnValue
 
		       Then copy a formula using the Copy Method.
 
		       The classification sets for the new formula includes the sets from the
		  original formula and the additional 
		  SNACKS set. The 
		  ADDSETS Script Library was called to add the 
		  SNACKS set. 
		
Calling a Script Library from another Script Library
You can use a script library function within another script library function. This enables you to reuse even more functions without having to place them in one set of coding.