Programming Guide : 12. Inter-Frame Communication Techniques : Communicating Between OpenROAD Frames : Global Variables
 
Share this page                  
Global Variables
OpenROAD provides global variables that you can use to store information that is available to all the frames in the application. You can use global variables to store global state information, such as the user's name and security level. You can also use them to share information between frames. Because updates to global variables take effect immediately, when one frame changes the value of a global variable, the new value is immediately available to any other frame in the application.
Global variables are not displayed directly on OpenROAD forms. To display the information contained in a global variable, you can assign the global variable to a local variable that is associated with a field on the form. In this case, to keep the value of the local variable up to date, you must reassign the value of the local variable when updates are made to the global variable.
For more information about how to declare global variables, see the Workbench User Guide.