Method SetVarExpr

SetVarExpr(string, string, string)

Assigns an expression value to the named variable using the Tedds 'SetVar' function. For information on Tedds calculation functions, use Tedds for Word and refer to the Tedds engineering library index at "Writing your own custom calculations\Calculation writing documentation\Tedds functions"

Declaration
ICalcValue SetVarExpr(string name, string value, string attributes = "e")
Parameters
Type Name Description
string name

Name of the variable

string value

Expression to assign

string attributes

attributes Variable attribute flags (h = hidden, t = temporary, e = expression, r = readonly)

Returns
Type Description
ICalcValue

numerical error code

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next