Sets a local or environment variable
Source position: amigados.pas line 2591
function SetVar( |
const Name: PChar; |
Buffer: PChar; |
Size: LongInt; |
Flags: LongWord |
):LongBool; |
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.
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 |