Reserved Words
Reserved words cannot be used as variable or function names because
they serve a special purpose within the OScript language. The following types of words are reserved in OScript:
- Operators, which are words developers use to combine values to create expressions, are reserved words. Examples
include: not, gt, eq,
and, and or.
- Data types, which are words that define the kind of values that can be manipulated using OScript, are reserved
words. Examples include: Integer, File,
List, Object, and
RecArray.
- Built-in function package names, which are words that are used to group constants, built-in functions,
data types, and properties, are reserved words. Examples include:
- Vis
,
- DAPI
,
- WAPI, and
- SQL.
- Unprefixed built-in functions and constants, also known as Core functions and constants, are
reserved words. Examples include:
- Length,
- Type,
- TRUE,
- FALSE,
- BooleanType,
- Echo, and
- Undefined.
- Function keywords. Examples include:
function,
return,
and void
- Control statements, words that are used to create branching
and looping constructs, are reserved words. Examples include:
if,
switch,
while,
for,
repeat,
break,
breakIf,
continue,
continueIf,
and
goto.
- The following miscellaneous words are also reserved words:
dll,
inbyref,
inout,
linked,
nodebug,
super,
this,
xcmd, and
xfcn.