01-26-2024, 05:34 AM
(01-26-2024, 05:22 AM)eoredson Wrote: This code does not work concerning UDT elements:_BIT is not currently supported in User Defined TYPEs.
Cannot resolve bit-length variables inside user defined type.Code: (Select All)Type Struct1
A As _Bit
B As _Byte
End Type
Dim Struct2 As Struct1
Struct2.A = 1
Struct2.B = -1
Print Struct2.B
As seen here in the Wiki:
https://qb64phoenix.com/qb64wiki/index.php/TYPE