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:
- 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
- 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:
- Unprefixed built-in functions and constants, also known as Core functions and constants, are
reserved words. Examples include:
- Length
- Type
- TRUE
- FALSE
- BooleanType
- Echo
- Undefined
- Function keywords. Examples include:
- 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
- goto
- The following miscellaneous words are also reserved words:
- dll
- inbyref
- inout
- linked
- nodebug
- super
- this
- xcmd
- xfcn.