Lot of discussion about arrays in UDTs.
These are some simple Lite Object arrays that may be stored in a UDT, or any LONG.
Also, dynamic string: StrBuff.inc
String stored in buffer – hold any value
Lite Object = allocated UDT referenced with pointer or LONG handle.
You must allocate a new instance before use: h = …Alloc()
Free handle before it goes out of scope: h = …Free(h)
Added: arrays ReDim automatically. Arrays grow on Add() and Insert().
Arrays shrink on Delete()
Public domain – use at own risk
These are some simple Lite Object arrays that may be stored in a UDT, or any LONG.
Also, dynamic string: StrBuff.inc
String stored in buffer – hold any value
Lite Object = allocated UDT referenced with pointer or LONG handle.
You must allocate a new instance before use: h = …Alloc()
Free handle before it goes out of scope: h = …Free(h)
Added: arrays ReDim automatically. Arrays grow on Add() and Insert().
Arrays shrink on Delete()
Public domain – use at own risk
Comment