Question: Objects in MAPLE programming Language

I’ve learned a fair amount about programming in MAPLE but am still perplexed by some things. I’m not sure how to simulate VB user defined types. Do I use modules, records, tables, some combination of the above? I wrote a Sudoku solving program in VB. The program used the following type and variable declarations: Private Type Square_ NumPossible As Integer Possible(9) As Boolean Number As Integer End Type Dim Square(9, 9) As Square_ If Square (i,j) had been solved then Square(i,j).Number was not equal to 0. If the number 7 were still a possibility in Square (i,j) then Square(i,j).NumPossible(7) returned TRUE. How might I define my datatypes if I wanted to take a similar approach in MAPLE?
Please Wait...