Type and Scope OperatorsElzed provides several declaration operators that control how variables are created.
Click the links for discussions of type and
scope.
boolean data type
boolean variable_name
Declares a new variable to be of boolean data type.
cosmic scope
cosmic number variable_name
cosmic string variable_name
cosmic boolean variable_name
Places a newly declared variable in cosmic scope.
global scope
global number variable_name
global string variable_name
global boolean variable_name
Places a newly declared variable in global scope.
local scope
local number variable_name
local string variable_name
local boolean variable_name
Places a newly declared variable in local scope.
numeric data type
numeric variable_name
Declares a new variable to be of numeric data type.
string data type
string variable_name
Declares a new variable to be of string data type.
|