[Pas2js] computed const doesn't work?

Mr Bee pak.lebah at yahoo.com
Fri Oct 19 07:02:21 CEST 2018


Hi,
Does pas2js support computed constant?
This code:
const TAU = 2*PI;
works on FPC v.3.0.4 but doesn't work on pas2js v.1.0.2. Both using -Mobjfpc parameter.
Thank you.
Regards,
–Mr Bee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20181019/26be62a0/attachment.html>


More information about the Pas2js mailing list