[fpc-pascal] Variants vs. Variant Records

Agustin Barto abarto at gmail.com
Sun Jul 24 02:55:44 CEST 2005


I have to build some container classes (like java Vector) for a
project. I was thinking on how to store some primitive values (so far
I only need to store Integer, Real or Extended and ShortString) and I
can't decide between variants (variant arrays) and variant records
(dynamic arrays of variant records). Any hints?




More information about the fpc-pascal mailing list