Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64's TYPE / END TYPE inquiry
#1
Hi everyone,

Please move this thread where it belongs if not here. Smile

I just tried to declare a type end type structure but it does not work. here is the situation. I have this type

Code: (Select All)
TYPE FloorData
     FloorID AS LONG
     FloorDescription AS STRING * 60
END TYPE
       
TYPE BuilddingData
     Floors(9) AS FloorData   <- this line is red
END TYPE

It's telling me it needs element as tpy, element=list as type or end type.  I though using arrays was something that was always available to us. help please Smile
Reply


Messages In This Thread
QB64's TYPE / END TYPE inquiry - by MystikShadows - 06-30-2024, 01:30 PM
RE: QB64's TYPE / END TYPE inquiry - by luke - 06-30-2024, 01:53 PM



Users browsing this thread: 2 Guest(s)