direct enum array
The following code can be translated into normal FPC programs. With a pas2js app, there is a syntax error at "MB02".
type TMB = (mb1, mb2);
var
MB01: array [TMB] of integer; // io.
MB02: array [(mm1, mm2)] of integer; // Syntax-Error by pas2js
Edited by sechshelme