num-var = Set_SETVAR(set-var-str, value-str)


Operands:

set-var-str

a string containing the name of the SPFLite SET variable for which the data is to be changed.



value-str

the new value to be assigned to the variable named by set-var-str


Returns:


If successful, RC will be 0 and Msg$ will be "" (Null)

If a failure, RC will be 8, and Msg$ will contain an error message


Special Notes:


For example, Set_SETVAR("ABC", "New value") would set the variable ABC to the string "New value".


The Set_SETVAR function will not succeed if a (SET) SetEdit session is open when the command is issued. (Ending the SET session causes the entire SET table to be written, overriding what SETVAR did)


 

Created with the Personal Edition of HelpNDoc: Free Qt Help documentation generator