|
|
|
|
- Reason
- Correction
- Example
- Procedure that uses the RETURN and RESULT keywords
- Possible correction
Error 803: Return and Result cannot be used in the same process
The current process uses the RESULT and RETURN keywords. These two keywords cannot be used in the same process. Standardize the processes performed in your loop or in your procedure. - The procedure or the loop returns a result and it always uses the RESULT keyword.
- The procedure or the loop returns no result and it always uses the RETURN keyword.
Procedure that uses the RETURN and RESULT keywords Code triggering the error
FUNCTION Find(File, Key, Value) HReadSeek(File, Key, Value) IF HFound()=True THEN RETURN True ELSE RESULT False END RETURN
Possible correction In this example, the RETURN keyword is useless and it must be deleted.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|