DarkBASIC Professional Help Wiki
Advertisement
Syntax


TypeNumber = GET ARRAY FIELD TYPE( Array(), Field )


Description


When used on a typed array that has its format set, this function will return the type number of the specified field within the UDT.

If used on a non-UDT array an error will be triggered.

The type returned will be one of the following:
0 = Integer
1 = Float
2 = String
3 = Boolean
4 = Byte
5 = Word
6 = Dword
7 = Double float
8 = Double integer

Advertisement