<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 12, 2015 at 2:07 AM, Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><p></p>
</span><p>It's from Extended ISO Pascal and I don't know for how long it exists in FPC already, but it does so definitely for some time.</p></blockquote></div>Thanks! I've never thought to go and read the FP documentation on "case statement", assuming it works in turbo pascal/delphi compatible way. <br><br></div><div class="gmail_extra">About while-then. While the syntax is unlikely to break anything, it's inconsistent with if-statement.<br></div><div class="gmail_extra">where, if-then is executed when condition is true.<br></div><div class="gmail_extra"></div><div class="gmail_extra">For while-then is executed then condition is false. <br></div><div class="gmail_extra">Thus, while-else or while-otherwise are better. However, both syntax would cause code incompatibility.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">thanks,<br></div><div class="gmail_extra">Dmitry<br></div></div>