How do I compile .pas to .js ?
compiles but doesn't produce a tryout.js file
Note :
I can do it in the ide by starting a new project, replace main unit with pas statements, delete all other units, unclick 'use main body' in code generation and unclick everything else in linker options
However the command line compiler would be a better option