On Tue, 1 May 2018 10:52:32 +0200 (CEST) Michael Van Canneyt <[email protected]> wrote:
>[...] > > Note that the 'var' is a workaround till eventually pas2js supports > > external 'const' without expression. > > Well, I specially did not mention this, because I consider it a dirty hack. > a var doesn't protect you from assigning to it (it's a variable, after all). Trunk now supports external const. :) > One preferably shouldn't teach people bad habits. :) Good point. Mattias _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
