The order of storage and retieval is determined by the function.
The value of the cue of the item retrieved from memory (and stored in CUE_OUTPUT) may be different than the
value of CUE used to retrieve the item.
If no retrieval is made, appropriately shaped zero-valued arrays are assigned as the
value of the ASSOC_OUTPUT and CUE_OUTPUT OutputStates.