A structure in nuBASIC is a composite data type consisting of a number elements of other types.
A nuBASIC structure is a value type and the instances of a structure are created in stack.
The keyword struct can be used to declare a structure.
The general form of a structure declaration in nuBASIC is as follows.
The objects of a struct can be created by using the Dim statement as follows.
The individual members of a struct can be accessed by using the dot (.) operator as showing below.
You can use structures in conjunction with arrays. The interactions use the same syntax as these elements use individually.