Sets a local or environment variable
Source position: amigados.pas line 1722
function SetVar( |
const name: pCHAR; |
buffer: pCHAR; |
size: LongInt; |
flags: LongInt |
):LongBool; |
const name: string; |
buffer: pCHAR; |
size: LongInt; |
flags: LongInt |
):Boolean; |
name |
|
pointer to an variable name. Note variable names follow filesystem syntax and semantics. |
buffer |
|
a user allocated area which contains a string that is the value to be associated with this variable. |
size |
|
combination of type of var to set (low 8 bits), and flags to control the behavior of this routine. |
If non-zero, the variable was sucessfully set, False indicates failure.
name |
|
pointer to an variable name. Note variable names follow filesystem syntax and semantics. |
buffer |
|
a user allocated area which contains a string that is the value to be associated with this variable. |
size |
|
combination of type of var to set (low 8 bits), and flags to control the behavior of this routine. |
Sets a local or environment variable. It is advised to only use ASCII strings inside variables, but not required.
The default is to set a local environment variable.
|
Returns the value of a local or global variable |
|
|
Deletes a local or environment variable |
|
|
Finds a local variable |