下图显示绘制了返回值的动画时序图。

您可以根据情况使用下列任何宏:
示例:
示例:
Int test(int n) {return n*5;}
void callingFunction()
{
int v;
CALL (v, f00(10));
// after the call v equals 50
}
示例:
A* test() {return new A();}
void callingFunction()
{
A *a;
CALL_INST(a, test());
// after the call a equals new A[0]
}
示例:
void callingFunction()
{
A *a;
CALL_SER(a, test(), serializeME);}
// after the call v equals <string that serializeMe returns>
}
即使您选择不在应用程序中嵌入这些宏,也仍可以通过“操作”窗口显式地调用操作来查看动画返回值。要调用操作,请单击动画工具栏上的“调用操作”工具。