Siebel Object Interfaces Reference > Programming > Variable Scoping for Siebel Script Variables >

Module Variables


Module variables defined in the (general) (declarations) section of a Siebel object (such as an applet or business component) are the next level of variable scoping. These variables are available as long as the object is instantiated and the values are accessible to scripts in the same object or module. Use Dim statements (for VB) or var statements (for eScript) in the (general) (declarations) section to declare module variables.

VB example:

(general) (declarations)
Dim ContactId as String

Code in the VB Editor in the (general) (declarations) section is illustrated in Figure 12.

Figure 12.  Declarations in the (general) (declarations) Section

Click for full size image


 Siebel Object Interfaces Reference 
 Published: 18 June 2003