<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Apologies if already suggested as there are a lot of messages in this thread - but would this meet your needs:<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class="">tabulatorkindty = (tak_none=<span style="color: #00b90d" class="">-1</span>,tak_left,tak_right,tak_centered,tak_decimal);</div><div class=""><br class=""></div><div>This ensures -1 is a valid enum value so <span style="font-family: Monaco; font-size: 11px; background-color: rgb(255, 255, 255);" class="">tabulatorkindty(-1) </span>should not raise a warning (I’ve not tried it as still using 3.0.4).</div><div><br class=""></div><div>Regards,</div><div><br class=""><blockquote type="cite" class=""><div class="">On 13 Mar 20, at 10:11 , fredvs via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org" class="">fpc-pascal@lists.freepascal.org</a>> wrote:</div><div class=""><div class=""><br class="">I vote for keeping type enum + adding at end "tak_nil" in array + <br class="">initialize "kind := tak_nil".<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>