This function should be used to retrieve the value of a variable as it was when the data view record was fetched.
VarPrev should not be used during the initializing stage of a record since Magic xpa does not have the necessary information ready for the function. Therefore you should refrain from using this function in INIT expressions. In any case, during this stage of the engine operation, the previous value of a variable is equal to the current value.
|