Error Messages/40241
Error message examples
In call to function Fix_reference, the first parameter, «ref», should be a reference or an array of references.
Cause
You passed a non reference to a function that expects the parameter to be a reference or an array of references. Function parameters that have been qualified by the 'reference' qualifier expects a reference or an array of references and produces this error when a non reference is passed instead.
The following function expects the first parameter, «ref», to be a reference and triggers this error when a non reference is passed to the function.
Function Fix_reference(ref: reference; add: nonnegative)
To learn more about function parameter qualifiers, please click here.
Remedies
Correct the function call by passing a reference to an object.
You can create a reference to an Analytica object by using the \
operator. \Obj
returns the reference to the object Obj
.
The value pointed to a reference can be obtained by using the #
operator. More on the Analytica reference operator and dereference operator is documented here
Enable comment auto-refresher