Recall
Synopsis
This operator retrieves the specified object from the object store of the process. The objects can be stored in the object store by using the
Remember operator.
Description
The Recall operator can be used for retrieving the specified object from the object store of the process. The name of the object is specified through the name parameter. The io object parameter specifies the class of the required object. The Recall operator is always used in combination with the operators like the Remember operator. For Recall operator to retrieve an object, first it is necessary that the object should be stored in the object store by using operators like the Remember operator. The name and class of the object are specified when the object is stored using the Remember operator. The same name (in name parameter) and class (in io object parameter) should be specified in the Recall operator to retrieve that object. The same stored object can be retrieved multiple number of times if the remove from store parameter of the Recall operator is not set to true. As there is no scoping mechanism in processes, objects can be stored (using Remember operator) and retrieved (using Recall operator) at any nesting level. But care should be taken that the execution order of operators is such that the Remember operator for an object always executes before the Recall operator for that object. The combination of these two operators can be used to build complex processes where an input object is used in completely different parts or loops of the processes.