[Pas2js] nonconsecutive enumeration not implemented
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Feb 14 23:17:26 CET 2018
On Wed, 14 Feb 2018 11:32:33 -0600 (CST)
warleyalex via Pas2js <pas2js at lists.freepascal.org> wrote:
> While writing pas2js help, I've came across we can not use nonconsecutive
> enums "not implemented"
>
> type
> TSuit = (Hearts = 1, Clubs, Diamonds = 10, Spades);
Correct. Custom values are not yet implemented. As documented:
https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/utils/pas2js/docs/translation.html?view=co#enums
Mattias
More information about the Pas2js
mailing list