Menu

#9 The Search fails to find variable names.

v4.1
closed
Core Model (79)
9
2012-09-19
2002-01-03
No

Problem: The EsiObjects Search fails to find variable
names.

Reason: Within the EsiObjects Search, an Out parameter
(P%Bypass) is used by the AcceptVisitor method of the
VariableDictionary class when calling the
VisitVariableDictionary method. The P%Bypass variable
is not initialized to a value before the call. It is
called with a keyword. If conditions are such that the
iterator is to bypass iterating through the variables
in the dictionary, it is set to 1. If iteration is to
continue, it is not set. Upon the returning to the
AcceptVisitor method, it is used to determine whether
to quit the iteration. If set, it will be 1. If not
set, it should be "". However, when not set, the value
returned in the actual array reference, not the value.

It is only under the conditions where a keyword is
used on the parameter AND the variable is not set that
the reference is bound to the variable instead of the
value.

Discussion

  • Jerry Goodnough

    Jerry Goodnough - 2002-02-06

    Logged In: YES
    user_id=41717

    Actually the name check did not use the correct name in the
    method ESI$SearchVisitor_Primary_VisitVariableDefinition.
    The Attached .opm file will fix the problem.

     

Log in to post a comment.