Skip to main content
1-Visitor
February 18, 2014
Question

Global Variable

  • February 18, 2014
  • 1 reply
  • 1088 views

Hi all,

How can I use a global variable in the APP, for transfer an information from OnEnter to OnExit function?( I need to used any type of information, and not just string).

1 reply

16-Pearl
February 19, 2014

If you are transferring OnEnter to OnExit then you don't want to use a global variable. In APP, global variables are not sensitive to the format state which means you can end up with strange results in certain cases.

What APP traditionally uses for this type of storage are the "format safe" counters and FISH. In v10 M070 and above, Javascript variables (but not Javascript objects) will also be format safe.

rboneti1-VisitorAuthor
1-Visitor
February 20, 2014

Thank you for your response!

I created a external javascript and a global variable in it. It worked well!