Hi Sven, sorry to come back, (dont forget I am a enum-guru now). But to be totally logic, in the previous code:
> if kind = tabulatorkindty(0) then Should it not be something illegal because of definition: > tabulatorkindty = > (tak_none := 1,tak_left,tak_right,tak_centered,tak_decimal); the values assigned are tak_none = 1, tak_left = 2, tak_right = 3, tak_centered = 4, tak_decimal = 5 and 0 is never assigned. Then (re-imho) there is something strange with initialization with 0 because 0 should be out of range. Fre;D ----- Many thanks ;-) -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal