Variable Types

Variable types are stored internally as:
Number
String
Delegate
Object
Function
FunctionCall
Variable
Type

However, for purposes of writing scripts:

Integer values are specified with whole numbers, and floats with decimal values.
(set x 0)
or
(set x 0.0)

Strings are indicated with single quote values 'hi'
(set x 'Something lengthy here')

Types are specified with a ~ prefix
(set x (new ~FerrScriptTester.TestClass))

Last edited Apr 10, 2011 at 10:05 PM by koujaku, version 4

Comments

No comments yet.