<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div><span></span></div><div id="yui_3_16_0_ym19_1_1466393128043_2743"><span id="yui_3_16_0_ym19_1_1466393128043_2776">Good work, sir. Thank you very much. I might use your article to direct people who still thinks Pascal today is still like the old Pascal of the 70's. :) </span></div><div></div><div id="yui_3_16_0_ym19_1_1466393128043_2377"><br></div><div id="yui_3_16_0_ym19_1_1466393128043_2377" dir="ltr">I have a little suggestion though. I prefer to use {$J-} directive in my Pascal program. I think it encourages good programming practice in Pascal. The {$J-} means constant is a constant no matter how you declare it. To bad FPC is still using {$J+} as the default even in the {$MODE OBJFPC}, which means a constant becomes a variable once you include the data type eventhough it's declared within a 'const' block. CMIIW.</div><div id="yui_3_16_0_ym19_1_1466393128043_2377"><br></div><div id="yui_3_16_0_ym19_1_1466393128043_2377"><br></div><div id="yui_3_16_0_ym19_1_1466393128043_2377">Regards,</div><div class="signature" id="yui_3_16_0_ym19_1_1466393128043_2522"><div id="yui_3_16_0_ym19_1_1466393128043_2632"><br></div>–Mr Bee<div id="yui_3_16_0_ym19_1_1466393128043_2521"><br></div></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> Pada Minggu, 19 Juni 2016 13:27, Michalis Kamburelis <michalis.kambi@gmail.com> menulis:<br></font></div>  <br><br> <div class="y_msg_container">Hi,<br><br>So, I wrote a document describing (quickly!) many features of the<br>modern Object Pascal:)<br><br>Read on:<br><br><a href="http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introduction/modern_pascal_introduction.html" target="_blank">http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introduction/modern_pascal_introduction.html</a><br><br><a href="http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introduction/modern_pascal_introduction.pdf" target="_blank">http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introduction/modern_pascal_introduction.pdf</a><br><br>This document started just Thursday morning. I thought that such<br>document would be a helpful resource for the developers interested in<br>my Castle Game Engine (<a href="http://castle-engine.sourceforge.net/" target="_blank">http://castle-engine.sourceforge.net/ </a>). The<br>document is directed at programmers who already know the concepts<br>(like classes, virtual methods) but they don't know how they look like<br>in Object Pascal. Or maybe they know Object Pascal classes, but don't<br>know about some "advanced" (but really useful IMHO) language features<br>added in the recent years. For example, many people are not aware that<br>Pascal has generics -- a powerful and important language feature,<br>IMHO. Many people are not sure what happens when an exception occurs<br>during the constructor -- which is quite important to know, if you<br>want to write correct destructors, I think.<br><br>This document quickly grew over the last 3 days:) It starts from<br>really basic stuff, and quite quickly jumps into "advanced" stuff. The<br>PDF is now 52-pages long, and calling it a "Quick Introduction"<br>becomes harder and harder:)<br><br>Parts of it apply only to recent FPC versions, and only to {$mode<br>objfpc} mode. I deliberately didn't want to burden the reader with<br>historic details, or differences between Delphi and FPC, or FPC<br>$modes. This is for readers who just use the latest FPC version, as<br>their primary Pascal compiler, and want to use the language with all<br>it's current features.<br><br>Share and redistribute as you like. The source is in AsciiDoc,<br>available on GitHub<br><a href="https://github.com/michaliskambi/modern-pascal-introduction" target="_blank">https://github.com/michaliskambi/modern-pascal-introduction </a>, and<br>corrections and improvements and all comments are very much welcome!<br>You're also welcome to reuse parts of it for FPC/Lazarus wiki or any<br>other document (license is the same as wikipedia). I hope you will<br>find this useful:)<br><br>Regards,<br>Michalis<br>_______________________________________________<br>fpc-pascal maillist  -  <a ymailto="mailto:fpc-pascal@lists.freepascal.org" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br><a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br><br><br></div>  </div> </div>  </div></div></body></html>