> I appreciate that I'm abusing the language here, but /should/ the original implicit conversion have worked?
I don't know, but IMO it should. Well, a variant should be able to accept any variant compatible type, right? > Does there have to be an explicit destroy or similar? Nope, dynamic arrays are reference counted. When you re-assign the variable with a new array, reference count of the previous array reaches 0 and thus automatically freed. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/User-defined-operators-and-dummy-parameters-tp5716106p5716109.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal