<html><head></head><body><div class="ydp25353778yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div><div dir="ltr" data-setdir="false">I had the compiler path set manually and hard coded (not using any IDE’s constants) into the Options input. Now it complains unable to find the system unit. Do I have to set it up manually too?</div><div dir="ltr" data-setdir="false"><br></div></div><div dir="ltr" data-setdir="false">Lazarus has had pas2js with it since the beginning. Then the pas2js package should be able to setup all the paths automatically. It should have default values that works. If everything still need to be done manually, so what’s the point of installation package?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I know everything can be setup manually. But I’m about to explain how to use pas2js with Lazarus to some newbies in my local Pascal community. I don’t want them to mess around with the system, like setting PATH environment variable. Because that's supposed to be done by the IDE, right? I hope the pas2js installation process would be simple and straightforward, like other packages.<br></div><div><br></div><div dir="ltr" data-setdir="false">Thank you.</div><div dir="ltr" data-setdir="false"><br></div><div class="ydp25353778signature"><div style="font-family:Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr"><br></div>–Mr Bee<div><br></div></div></div></div>
<div><br></div><div><br></div>
</div><div id="yahoo_quoted_2183830425" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Pada Minggu, 4 Oktober 2020 19.21.10 WIB, warleyalex via Pas2js <pas2js@lists.freepascal.org> menulis:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">My best approach is:<br clear="none"><br clear="none">To be able to work with pas2js, you need to inform the Pas2JS compiler to<br clear="none">the PATH. <br clear="none">For WINDOWS: go to → System → Advanced Options → Environment Variables →<br clear="none">Edit<br clear="none"><br clear="none">Change your Operating System PATH variable → Edit<br clear="none"><br clear="none">Inform the the Path of pas2js you want to add →<br clear="none">D:\pas2js\pas2js-windows-1.5.1\bin<br clear="none"><br clear="none">Happy coding!<br clear="none"><br clear="none"><br clear="none"><br clear="none">--<br clear="none">Sent from: <a shape="rect" href="http://pas2js.38893.n8.nabble.com/" target="_blank">http://pas2js.38893.n8.nabble.com/</a><br clear="none">_______________________________________________<br clear="none">Pas2js maillist - <a shape="rect" ymailto="mailto:Pas2js@lists.freepascal.org" href="mailto:Pas2js@lists.freepascal.org">Pas2js@lists.freepascal.org</a><br clear="none"><a shape="rect" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js" target="_blank">https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js</a><div class="yqt6607981499" id="yqtfd88065"><br clear="none"></div></div></div>
</div>
</div></body></html>