Thanks Michael. > You'll need to disable that particular warning if you want to use such > tricks.
For the "-1" trick, it can be easy fixed with if (kind = tabulatorkindty(tak_lef)) or (kind = tabulatorkindty(tak_right)) or (kind = tabulatorkindty(tak_centered)) or (kind = tabulatorkindty(tak_decimal)) then But for the other example: --> tdataevent(de_afterapplyupdate) Do you think it would be better to add the "extended" elements of the array like de_afterapplyupdate: --> de_afterapplyupdate = ord(high(tdataevent))+6; Directly in the original tdataevent array? By the way, huh, yes, if I am totally sure that the code is safe, I would be happy to know the code-number of those Warning and disable it. Of course in last resort (no time to be lazy). 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