Call

Call(zugriffsAusdruck, function), Call(function)

Parameter:  access path, function name

Stack
Stack Position Description
Stack(In) top object
  top-1 parameter n
  top-2 parameter n-1
  . . . . . .
  top-n parameter 1
Stack(Out)   return value

A vector will be passed as a parameter:

Stack
Stack Position Description
Stack(In) top object
  top-1 parameter n
    . . .
    ]
    element m
    element m-1
    . . .
    element 1
    [
    . . .

and a vector appears as return value:

Stack
Stack Position Description
Stack(In) top object
  top-1 parameter n
  top-2 parameter n-1
  . . . . . .
  top-n parameter 1
Stack(Out) top ]
  top-1 element 1
  top-2 element 2
    . . .
  top-n element n
  top-n-1 [

Member functions from the first or second parameter are called. In case only one parameter is indicated, it is a method from the stack top object. Another object will be accessed via Access Path which can be indicated in the first parameter coming from the stack top object. The object function will be called. Access parameters first have to be put into the stack in the correct function parameter list *) order. If a function returns a value, afterwards this value will be in the stack. InstantView® only knows functions that are listed in the Method Dictionary.

*) the first parameter will be put in the stack first, the last parameter is in the stack top. With this, the function call Foo(p1, p2, ..., pn) looks as follows in the InstantView® code:

    p1 p2 ... pn /* = Parameter */ object /* = the object */ Call(Foo)

 

Information: Funktionen können auch innerhalb eines Zugriffsausdrucks aufgerufen werden.
Es ist jedoch nicht möglich, mittels Call eine MA-Funktion aufzurufen.

Related topics