Structures

A structure in nuBASIC is a composite data type consisting of a number elements of other types.

Example:

Struct Coords

x as Double

y as Double

End Struct

Dim xy as Coords

xy.x = 100

xy.y = 200

See also Struct keyword