<div dir="ltr"><div dir="ltr">On Fri, Jul 3, 2020 at 10:08 AM Special via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.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">on a Elementary School near Heidelberg the nine-years-old pupils learn <br>
programming with Delphi 10.3 Community Edition. In one of the programs <br>
they use 'Type ZimmerType = (Küche, Wohnzimmer, Schlafzimmer);", <br></blockquote><div><br></div><div>Having educational purposes in mind, can variable masking be achieved through IDE itself, rather than the compiler.</div><div><br></div><div>If a character outside of ANSI range is met within an identifier, IDE would replace it with something else.</div><div>So, instead of having "Küche" the source code would look like "K_Ache". (the next character would be replaced with _B, _C ..and so on)</div><div><br></div><div>It doesn't have to be done on the fly, it could be done before starting the compilation. </div><div>There are two benefits with this approach:<br></div><div>* no changes are needed for the compiler. (works with any version)</div><div>* the language rules of capitalization can be followed</div><div><br></div><div>thanks,<br>Dmitry</div><div><br></div></div></div>