<div dir="ltr"><div dir="ltr">On Sat, Jul 13, 2019 at 3:59 PM Michael Van Canneyt <<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Yes, I know. But the goal is to have 'is/as'. Then there is at best only 1 helper<br>
function for all enumerateds.<br></blockquote><div><br></div><div>Oh yeah, I wasn't really suggesting a generic function as a *solution* to the problem versus "is" and "as". I was just pointing it out as a concept that works in general and can be used right now (for things other than enums as well). </div></div></div>