variable context

Discuss issues and ideas you have to configuring displays with PowerVision
ngustavson
Posts: 11
Joined: Mon Oct 11, 2010 7:45 am

variable context

Post by ngustavson » Fri Oct 29, 2010 3:07 pm

Is there a way to create variables with context.
i.e. can I create a lamp gauge with a local variable I could reference like "lampgauge1.pressed=1" Or are all variables effectively global.
Local variable could save A LOT of work, as otherwise gauge objects will require creating new variables and database objects every time you copy them.

thanks,
NZG
jpurdum
Enovation Controls Development
Enovation Controls Development
Posts: 153
Joined: Mon Jun 21, 2010 11:19 am

Re: variable context

Post by jpurdum » Mon Nov 01, 2010 5:03 am

Currently all variables are effectively global.

john p.