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

Local Variables


Local variables defined within a Siebel script are the lowest level of variable scoping. These variables are declared using the Dim statement in Siebel VB or the var statement in Siebel eScript, and their values are accessible only within the script in which they were defined.

VB example:

Sub Applet_Load
   Dim localStr as String
End Sub

eScript example:

function Applet_GotFocus ()
{
   var localStr;
{


 Siebel Object Interfaces Reference 
 Published: 18 June 2003