Error Messages/40241

< Error Messages
Revision as of 17:56, 1 February 2010 by AManandhar (talk | contribs) (Created page with '= 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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 qualifier, 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




You are not allowed to post comments.

Comments
<comments />