Table of Contents

Declaring Variables

To declare a variable in WebScript, use the syntax:

id myVar;
id myVar1, myVar2;

A value can also be assigned to a variable at the time it is declared:

id myVar3 = 77;   

WebScript only supports one data type: objects (ids).

Table of Contents Next Section