1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-20 22:05:15 +00:00
qb64/internal/help/ENVIRON.txt
Luke Ceddia b586eafd3b Integrated _BLINEINPUT into regular LINE INPUT for BINARY files
LINE INPUT will now use the faster method if passed a file handle
that has been opened FOR BINARY. As such, the _BLINEINPUT command
has been removed.

qb64.bas now takes advantage of this for reading from '$include files,
at least in Include Manager 1. Some tweaking of internal/source/main.txt
was required to get things into a sane state, so I'm holing off changing
the compiler any further so the auto-builder can make sure everything's
smoothed over.

Note: Everything should still compile as normal; I'm just being overcautious.
2014-07-27 00:06:17 +10: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}}