Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Variable Scope Standards

  • Last UpdatedJul 18, 2023
  • 1 minute read

Local variable standards

Local Variables should be initialized, for example:

INT iFile = 0;
STRING sName = "";
INT bSuccess = FALSE;

Module variable standards

Module Variables should be initialized, for example:

MODULE INT mhForm = -1;
MODULE STRING msPageName = "Loop";

Global variable standards

Global variables should be initialized, for example:

GLOBAL INT ghTask = -1;
GLOBAL STRING gsLastPage = "Menu";

TitleResults for “How to create a CRG?”Also Available in