Description:
Static lists are the biggest feature (when comparing with C), that allows
You to create/setup Your own lists everywhere You like, not only in
definition, where it requires it's own variable, this feature extremely
simplifies program structure and speedups it's writing. Lists outside a
procedure can contain only values, constants, strings and also other lists.
List inside a procedure can contain everything what can return a value or
an address.
Syntax:
Each list starts with "[" and stops with "]". If ":" follows, this list
will be typed. After ":" character must follow one of PowerD types or
name of an OBJECT. If no ":" used, then will be this list typed as
PTR TO LONG.
[1.2,3.4,5.6,1,2,3]:FLOAT
OBJECT myobj
count:LONG,
width:DOUBLE,
yesstr:PTR TO CHAR,
nostr:PTR TO CHAR,
list:PTR TO WORD
[0,0.2,'Yes','No',[-1]:WORD]:myobj