The normal dynamic array supports empty (= nil, Length() = 0)
.
The variant array however does not seem to support this.
I pass my data in variant array (because of OLE/COM), and I get an error when the user defines 0 elements...
I can use varEmpty instead of a 0 length array, but these data arrays are flexible changed (add item, remove item, etc.).
How I can I pass empty arrays in a Variant, or do I need to use other way?