| number |
|
A 16-bit number between -32768 and
32767.
- An immediate integer
- A variable (local, global, var,
param, property)
| Example |
(var
someNum)
= someNum 1234
Wait(someNum) |
|
| bool |
| A TRUE or FALSE expression. This is
the same as a number, but is evaluated differently. If it's value
is 0, it is a FALSE expression, otherwise it is a TRUE expression. |
| string |
|
A string of characters
- An immediate string
| Example |
| Display("Hello
World") |
- A string variable
| Example |
(string
helloStr = "Hello World"
)
...
Display(helloString) |
- A variable (local, global, var,
param, property) containing a pointer to a string
| Example |
(var
strPtr)
= strPtr "Hello World"
Display(strPtr) |
- A pointer to a variable (local,
global, var, param)
| Example |
(var
strBuf[40])
StrCpy(@strBuf "Hello World")
Display(@strBuf) |
- A pointer to a text resource (number,
number)
| Example |
| Display(999
4) // prints the fourth string in TEXT.999 |
|
| heapPtr |
|
A pointer to a block of memory. Blocks
of memory can contain anything, from classes, to strings, to variables.
- A pointer to a block of memory.
Blocks of memory can contain anything, from classes, to strings,
to variables.
| Example |
(var
pEvent) // pEvent will be a heapPtr
= pEvent (Event:new()) |
|
| rect |
|
An array of four variables defining
a rectangle
- A pointer to a variable array of
four
| Example |
(var
rect[4])
TextSize(@rect)
= yMin rect[0]
= xMin rect[1]
= yMax rect[2]
= xMax rect[3] |
|
| point |
|
An array of two variables defining
a point
- A pointer to a variable array of
four
| Example |
(var
point[2])
= y point[0]
= x point[1] |
|
| void |
| Void means that the function does not
return a value. |
|