1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 08:35:52 +00:00
QB64-PE/internal/help/ENVIRON.txt
SMcNeill 6e01fc8dce Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0).
Added new _STRCMP and _STRICMP commands for quick string comparisons.
Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders.
Altered UCASE and LCASE routines to be faster in some situations for us.
2014-09-22 08:19:03 -04:00

24 lines
867 B
Plaintext

The '''ENVIRON''' statement is used to temporarily set or change an environmental string value.
{{PageSyntax}}
:: ENVIRON string_expression$
* [[Keywords_currently_not_supported_by_QB64]]
* The string expression must include the environmental parameter ID and the setting two ways:
: * Using an = : 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.
* DOS discards any changes when your program ends so the program must set them when run!
* '''WARNING:''' The amount of space in a environmental table is limited and may create memory errors.
''See also:''
* [[ENVIRON$]]
* [[Windows Environment]]
{{PageNavigation}}