Is it possible to define constants in Servoy?

Hi all,

Moving from 3.5.12 to 5.1.3 and have noticed all the constants that Servoy now use internally.
Is there a way of declare project specific constants in the servoy code?
If yes where? and how are these accessed from other files/modules?

Hi Christian,

You can use global variables for this.

var _k_MYCONSTANT = "your value";

Hope this helps.