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")