forked from QB64-Phoenix-Edition/QB64pe
-
Notifications
You must be signed in to change notification settings - Fork 0
ENVIRON
Samuel Gomes edited this page Nov 8, 2022
·
1 revision
The ENVIRON statement is used to temporarily set or change an environmental string value.
ENVIRON stringExpression$
- The stringExpression$ must include the environmental parameter ID and the 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.
- The _ENVIRONCOUNT function returns the number of key/value pairs that currently exist.
- Any changes made at runtime are discarded when your program ends.