Re: fpc + linux, problem with VarArrayCreate, variant
You can simplify the use-case a lot: simply trying to assign any value
to a Variant after it's been assigned an array throws an exception.
It seems one is not allowed to reassign a Variant which was already
initialized to a VarArray - which IMHO is a good thing ;-) Variable
reuse should have a capital punishment =P
BTW, I couldn't even create a varWord array (TBH I never did this in
Delphi anyway), FPC 2.0.2 throws a not-much-useful "VarArrayCreate
After assigning a varByte array, assigning '0' or '0.0' throws "no
interface supported" and assigning 'Null' or calling 'VarClear' throws
"varpointer is locked".
It doesn't seem to be any reports about these bugs in the tracker...