HARRY01
12-05-2006, 09:17 AM
I need to create an array of structures which contain an array of structures. In fact I port a piece of code from Visual Basic to PPL.
In Visual basic it looks like:
Type Cell
x as integer
y as integer
v as integer
End type
Type mpmline
nr as integer
cdata (1 to 9) as Cell
End type
Global mpm (1 to 9) as mpmline
The definition (1 to 9) is not possible, I think. So make it 10 elements, then I will not use element 0.
Grateful as always for some help.
Harry
In Visual basic it looks like:
Type Cell
x as integer
y as integer
v as integer
End type
Type mpmline
nr as integer
cdata (1 to 9) as Cell
End type
Global mpm (1 to 9) as mpmline
The definition (1 to 9) is not possible, I think. So make it 10 elements, then I will not use element 0.
Grateful as always for some help.
Harry