>Just another idea: > >If you need this in a KDE/Qt application, you could use QArray for the array, >which knows about its size and so on. nope, would be a bit to "umständlich". Your first idea was great ! Markus -- Markus Goetz (guruz@gmx.de, http://guruz.tsx.org, icq:23244271) Der dumme Spruch des Tages (maschinell zufällig ausgewählt) : Wer "A" sagt, muss auch "rschloch"' sagen.