Should check that the last MOVE completed (WMB)
When using MOVE, it is possible for the MOVE to fail if the reference is not assigned.
This will cause the code to error.
For example the following could error if the reference is unassigned (null):
X: WHILE I <= C DO MOVE inDataRef TO inRef.DataAndStuff[I]; IF inDataRef.CodeLookup = '001' THEN |
This would check that the MOVE completed and the reference is referring to a valid object:
X: WHILE I <= C DO MOVE inDataRef TO inRef.DataAndStuff[I]; IF LASTMOVE(inDataRef) THEN IF inDataRef.CodeLookup = ’001′ THEN |