[Pas2js] Variable in .LPR: How to make global through entire application?
cbsistem
cbsistem at yahoo.com.br
Thu Nov 8 16:29:53 CET 2018
Test. Propertys
type
{ TApplication }
TApplication = class(TCustomApplication)
private
{ private declarations }
protected
procedure ApplicationStarting; override;
public
FMyVariable:String; // use propertys
end;
asm
console.log(pas['program'].Application.FMyVariable);
end;
-----
cbsistem
Brasil
--
Sent from: http://pas2js.38893.n8.nabble.com/
More information about the Pas2js
mailing list