www.kxcad.net Home > Electronic Index > Altium(Protel) Index
Summary
Function parameter must be mode IN.
Description
The Compiler has encountered an incorrect use of a function parameter.
Recommendation
All formal parameters of a function must be of mode in (which is the default mode) and may not be assigned values within the function. If you require that one or more parameters of your subprogram be of mode out or inout, then you will need to use a procedure, rather than a function.