[Pas2js] does {$i} directive work for pas2js

Mgr. Janusz Chmiel janusz.chmiel at volny.cz
Fri Sep 18 20:39:53 CEST 2020


Dear professional developers here. I have been intensively thinkink about my
errors which I Am doing while writing code in Pascal. I have found out, that
to avoid various issues while adding procedures in The right order. If my
good way would not lead through {$i} directive and some .pas source which
would contain main procedures such as adding audio support, creating GUI
widgets. And my main .pas program which could call procedures and functions
from other .pas source. Or do you think, that this approach will not be good
idea?

I want to have A free hand when writing Pascal source which will react on
events and which will contain many if then condition blocks. To avoid The
situation, that I will have locked hands because. Audio widget procedure
will relay 30 lines down after if then condition block which will make A
decision which station will be plaied for example.
But may be, that it is not good idea, since I can also god myself to some
chaos.



More information about the Pas2js mailing list