Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sample program using the new _Files$ function
#5
(01-26-2024, 05:22 AM)eoredson Wrote: This code does not work concerning UDT elements:

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
Cannot resolve bit-length variables inside user defined type.
_BIT is not currently supported in User Defined TYPEs

As seen here in the Wiki:

https://qb64phoenix.com/qb64wiki/index.php/TYPE
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
RE: Sample program using the new _Files$ function - by TerryRitchie - 01-26-2024, 05:34 AM



Users browsing this thread: 3 Guest(s)