PB has a known limitation with UDTs:
Type TQuadix3D
dp(0 To 3) As POINT3D
End Type
Type TQuadix3DArray
Arr() As TQuadix3D 'needs here an integer dimensioning I try to avoid.
End Type
'
'
'Inside a function:
Dim TQ3D(1 To 999) As TQuadix3DArray 'As an example for the wanted usage.
In my current code I'm planning hundreds of similiar UDT definitions.
How could I avoid dimensioning them like Arr(0) As TQuadix3D?
Type TQuadix3D
dp(0 To 3) As POINT3D
End Type
Type TQuadix3DArray
Arr() As TQuadix3D 'needs here an integer dimensioning I try to avoid.
End Type
'
'
'Inside a function:
Dim TQ3D(1 To 999) As TQuadix3DArray 'As an example for the wanted usage.
In my current code I'm planning hundreds of similiar UDT definitions.
How could I avoid dimensioning them like Arr(0) As TQuadix3D?
Comment