|
| Previous: 3.2.5 GETARG | TOC | Index | Back | Next: 3.2.7 MEMCOMP |
T.GETENV(name, buffer, size) ! Str,Str,Num => Num
Retrieve the value of the environment variable 'name' and store up to 'size'-1 chararacters of its value in 'buffer'. Append a NUL character to the text in 'buffer'.
GETENV returns the number of characters copied. A return code of -1 indicates that a non-existant variable name has been specified.
See also: GETARG
| Previous: 3.2.5 GETARG | TOC | Index | Back | Next: 3.2.7 MEMCOMP |