In VB, you could declare say...
Public Type FontStruct
FontSprite(33 To 127) As Long
Mask() As Byte
End Type
Public Font(255) as FontStruct
Now Im unsure about the FontStruct Structure, it has a static array of Longs with a lower boundary of 33, and Mask which is not dimensioned at declare (ie. unallocated), but within the code will be redimensioned with redim.
This is the closest I come up with with PureBasic...
Structure FontStruct
FontSprite.l[127]
Mask.c[0]
EndStructure
Global Dim Font.FontStruct(255)
I know in VB6 the 'Mask' bytes arent stored directly in FontStruct, rather a pointer, which means the Mask array can be redimensioned easily, Im presuming this isnt the case with PureBasic? Thus meaning in vb6, the Mask can be redimensioned by "Redim Font(26).Mask(255)" without reallocating the entire Font array.
Is it possible to have a redimensional Array within a structure, and also to specify a lower boundary?
Thanks for your time

