Hi,
I tried to write some function that returned a dynamic array, and
realized that this isn't allowed. Why? After all one can specify an
array of variable length as type for variables... Furthermore - if
I'm not mistaken - a dynamic array is implemented internally as a
pointer, and so there wouldn't be any runtime overhead for returning
a dynamic array from a function.
Thanks,
Christos Chryssochoidis
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal