Jump to content

[Samples] Set Graphics to Global Variables


This topic is 4808 days old. Please don't post here. Open a new topic instead.

Recommended Posts

File Name: Set Graphics to Global Variables

File Submitter: Ocean West

File Submitted: 20 Dec 2010

File Updated: 21 Dec 2010

File Category: Samples

FM Version: 10

This technique is used on startup of a solution where it will run a script and set the contents of a container field to a global variable ( $$variable ) for use elsewhere in the solution, such as a calculation that determines the boolean state of a flag on/off and allowing you to use the corresponding graphic. By referencing the global variable in the calculation.

Click here to download this file

Link to comment
Share on other sites

  • 1 month later...

Hi

very nice technique. I am wondering why you put them in a global variable instead of a global repeated field?

I tend to store them in a global field for mostly one reason: if I want to change the fieldname, all my calcs referencing this global field will be updated as well, which is not the case when using a global variable.

Andries

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.