Siebel Object Interfaces Reference > Programming > Variable Scoping for Siebel Script 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 ()
The following example is in Siebel VB:
Dim localStr As String