2010/5/6 spir ☣ <denis.s...@gmail.com>: > > If the answers to last 2 questions is "only every 29th of februar", how can > one have a "flexible" array? Is there something like that in stock? Would you > implement it on top of dynamic array, or rather from scratch on top of static > array (since the "dynamicity" does not seem very helpful)? >
Use a list class instead. Descend from TList or embed TList in a class as a field variable. I hardly ever use arrays, simply because list classes can do everything you mention and works as expected. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal