[Pas2js] Variable in .LPR: How to make global through entire application?

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Nov 9 09:10:53 CET 2018


On Fri, 9 Nov 2018 06:41:30 +0000
"Ulrich, Christian" <christian.ulrich at tcsag.de> wrote:

> Pas2js places asm blocks always inside the "pas" scope. Is it maybe
> an good idea to make it possible to place asm blocks after end. Or
> before unit/programm to put it directly in the generated .js ? I had
> yesterday an simelar problem and had to use an separate .js file wich
> is no big problem but would be nicer to have that also beside the
> related pascal class.

Why do you need a global var?

Mattias


More information about the Pas2js mailing list