mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 10:15:09 +00:00
22 lines
755 B
Text
22 lines
755 B
Text
The [[ENVIRON]] statement is used to temporarily set or change an environmental string value.
|
|
|
|
|
|
{{PageSyntax}}
|
|
: [[ENVIRON]] {{Parameter|stringExpression$}}
|
|
|
|
|
|
{{PageDescription}}
|
|
* The {{Parameter|stringExpression$}} must include the environmental parameter ID and the setting:
|
|
** Using an '''=''' sign: [[ENVIRON]] "parameterID=setting"
|
|
** Using a space: [[ENVIRON]] "parameterID setting"
|
|
* 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.
|
|
* Any changes made at runtime are discarded when your program ends.
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
* [[ENVIRON$]]
|
|
* [[Windows Environment]]
|
|
|
|
|
|
{{PageNavigation}}
|