Start a new topic

'Real' global variables regardless of the active page

It should possible to use get and set methods from a microcontroller on 'global' variables/objects regardless of the active page. In the moment it is really annoying to handle this display. I'm using an arduino mega.

1 Comment

When dealing with a Global component, only the .val or the .txt is available as a Global.

To avoid issues when page changes, always refer to the global with page included.

A Global Variable va0 on page0 should be referred to as page0.va0

- with just va0, you run the risk of the current page not having a va0 variable or the wrong va0 variable.

NexVariable   myGlobal_va0 = NexVariable(0, 2, "page0.va0");

Login or Signup to post a comment