Miscellaneous
____________________________

RANDOMIZE [int]

Seeds the random number
generator

____________________________

RND

Returns a random number
from the range 0 to 1
____________________________

LBOUND(array [, dim])
UBOUND(array [, dim])

Returns the lower/upper
bound of the 'array'

The parameter 'dim' is the
array dimension whose bound
is returned

Example:
DIM v1(-4 TO 7)
DIM v2(1 TO 2, 3 TO 4)

? LBOUND(v1):REM -4
? UBOUND(v1):REM 7

? LBOUND(v2):REM 1
? LBOUND(v2,2):REM 3
____________________________

CINT(x) - convert x to
  32b integer

CDBL(x) - convert x to
  64b real number
____________________________

PEN ON|OFF

Enables/Disables the
PEN/MOUSE mechanism.
____________________________

PEN(0..14)

Returns the PEN/MOUSE data.

Values:
0 - true (non zero) if there
  is a new pen or mouse
  event
1 - PEN: last pen-down x;
  MOUSE: last mouse button
  down x 
2 - Same as 1 for y
3 - true if the PEN is down;
  mouse left-button is
  pressed
4 - PEN: last/current x, 
  MOUSE: the current x
  position only if the left
  mouse button is pressed
  (like PEN is down)
5 - Same as PEN(4) for y

Mouse buttons (non PalmOS):

10 - current mouse x pos.
11 - current mouse y pos.
12 - true if the left mouse
  button is pressed
13 - true if the right mouse
  button is pressed
14 - true if the middle
  mouse button is pressed

____________________________

PAUSE [secs]

Pauses the execution for a
specified length of time, or
until user hit the keyboard.

