AddUsrVar ()
Add new variable through customized code.
Usage
AddUsrVar( name, exp, desc = None, clobber = False )
Parameters
- name (string)
- Name of new variable.
- exp (string)
- Expression of new variable.
- desc (string)
- Description of new variable.
- clobber (boolean)
- The parameter value will be overwritten in data base if clobber is true.
Return Value
None
Errors
The exp must be valid.
Description
AddUsrVar( name='Var1',exp = '1+2', desc = 'Variable 1' )