www.kxcad.net Home > Electronic Index > Altium(Protel) Index
Summary
Return statement must be within a Function or Procedure.
Description
The Compiler has encountered a return statement that is not within a function or procedure body.
Recommendation
Check to make sure that you are using the return statement correctly to exit from a subprogram.
Also check to ensure that you have not incorrectly placed one or more end statements that would cause the subprogram to be prematurely terminated.