W
W0lfw00ds
Guest
I have set the compile option
I tried to compile the following example code but it doesn't pass the option:
If I rearrange the code, by moving
Is there any other way to make it work?
Continue reading...
requireReturnValues="Error"
.I tried to compile the following example code but it doesn't pass the option:
Code:
METHOD PUBLIC LOGICAL checkValue(i_cValue AS CHAR):
IF i_cValue <> ? THEN DO:
RETURN TRUE.
END.
UNDO, THROW NEW Progress.Lang.AppError("Invalid value!").
END METHOD.
If I rearrange the code, by moving
RETURN TRUE.
into the end, it works as intended.Is there any other way to make it work?
Continue reading...