Method Context():setCargo() Professional
Store a value in the session.
:setCargo( <cName>|<xValue>[, <xValue>] ) --> lSuccess
The method returns .T. (true) if the value could have been stored, otherwise .F. (false) is returned.
Stores the value <xValue> until a session is closed. The value may be of any Xbase++ data type and can be associated with a string <cName>serving as a symbolic name. In this case, the symbolic name must be passed as first parameter and the value as second parameter.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.