If a simulation was run earlier, it must be reset before CB.DefineDecVarND is called.
Beginning in Crystal Ball 11.1.1.0.00, there are three new decision variable types: Binary, Category, and Custom (described in Table 56).
To support these new types, a new optional parameter, decVarType, is added with the following new constants: cbDecVarTypeContinuous [0], cbDecVarTypeDiscrete [1], cbDecVarTypeBinary [2], cbDecVarTypeCategory [3], and cbDecVarTypeCustom [4].
To support decVarType equal to cbDecVarTypeCustom, a new optional parameter, customData, is added.