[Pas2js] Please would somebody repair The mistake insideThesourcecode???

Mgr. Janusz Chmiel janusz.chmiel at volny.cz
Wed Dec 16 10:26:15 CET 2020


Dear Helios,
Thank you for yours correct advice. Really, compiler is working and code have been converted to Javascript successfully. But console do not contain output generated by writeln procedure. Sure, I have console output enabled inside main demos form. So The question is, when if then condition block will be really executed. If this condition block resides inside body of function. Should I call The function elsewhere in some part of The source so condition block will be realized after function execution?
So I Am thinkink. If should I  declare some other boolean type variable and type for example.
Ff := TEventTableWidgetDemo.useranswercorrect();
To be sure, that condition block will be really executed. And that writeln will write its output to The console. Sure. My desire was to have blue coloured column, but I do not want to overload others so much so I only want to have functioning condition block.


-- 
Tento e-mail byl zkontrolován na viry programem AVG.
http://www.avg.cz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201216/e341804b/attachment.htm>


More information about the Pas2js mailing list