2021-01-04 18:45:32 +00:00
|
|
|
The [[ENVIRON]] statement is used to temporarily set or change an environmental string value.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageSyntax}}
|
2017-10-10 14:55:21 +00:00
|
|
|
: [[ENVIRON]] {{Parameter|stringExpression$}}
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
2017-10-10 14:55:21 +00:00
|
|
|
{{PageDescription}}
|
|
|
|
* The {{Parameter|stringExpression$}} must include the environmental parameter ID and the setting:
|
2019-04-15 01:15:33 +00:00
|
|
|
** Using an '''=''' sign: [[ENVIRON]] "parameterID=setting"
|
|
|
|
** Using a space: [[ENVIRON]] "parameterID setting"
|
2015-08-02 12:12:44 +00:00
|
|
|
* If the parameter ID did not previously exist in the environmental string table, it is appended to the end of the table.
|
|
|
|
* If a parameter ID did exist, it is deleted and the new value is appended to end of the list.
|
2021-01-04 18:45:32 +00:00
|
|
|
* Any changes made at runtime are discarded when your program ends.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
2017-10-10 14:55:21 +00:00
|
|
|
{{PageSeeAlso}}
|
2015-08-02 12:12:44 +00:00
|
|
|
* [[ENVIRON$]]
|
|
|
|
* [[Windows Environment]]
|
|
|
|
|
|
|
|
|
2019-04-15 01:15:33 +00:00
|
|
|
{{PageNavigation}}
|