PutInt()

Put an integer parameter in the data base.

Usage

PutInt( path, par,
                  value, clobber=True )

Parameters

path (string)
Data base path of the node containing the parameter.
par (string)
Parameter name.
value (integer)
The parameter value.
clobber (boolean)
The parameter value will be overwritten if clobber is true.

Return Value

None

Error

The parameter must be an Integer.

Description

This routine saves an integer parameter in the data base. The parameter address is given by its node path and the par name. The value of parameter is given by value. If the clobber is true, the parameter value will be overwritten. For example,
nodeStg= nodeStg + RS + name
PutInt( nodeStg, 'max_linear_solver_iterations',1000,False)