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

AVEVA™ Plant SCADA

PageEnvironmentAdd

  • Last UpdatedJul 13, 2023
  • 1 minute read

Adds a new environment variable to the current page.This function will return an error if an environment variable with the specified name already exists

Syntax

PageEnvironmentAdd(Name, Value)

Name:

Specifies the name of the new environment variable.

Value:

Specifies the value to associate with the new environment variable

Return Value

0 (zero) if successful, otherwise an error is returned.

Example

Adding a new environment variable:

GraphicsBuilder.PageEnvironmentAdd("Foo", "Bar")

PageEnvironmentFirst

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