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.

The following example is in Siebel eScript:

function WebApplet_Load ()
{
   var localStr;
}

The following example is in Siebel VB:

Sub WebApplet_Load
   Dim localStr As String
End Sub

Siebel Object Interfaces Reference Copyright © 2008, Oracle. All rights reserved.