|
Post by u9 on Jul 30, 2006 19:56:26 GMT -5
It would be nice to be able to define user defined types (UDT) similar to structures in VB.NET often referred to as light-weight classes. Here's an example:
Public Type Point x As Integer y As integer End Type
Dim p As Point p.x = 1 p.y = 2
system.debugPrint p.x & " " & p.y
Structures (UDT) are easier and faster to work with then classes They are created on the stack and so do not need to be instantiated.
|
|