forwardparams

parameters in function don't match with forward declaration

Rule "forwardparams" gives this warning when it finds that a function implementation has different parameters than its forward declaration.
For example:

function myfunction returns logical(input something as character) forward.

function myfunction returns logical:
    if something>"" then 
       return true.
    else 
       return false.
end function.

Why
It is partly a matter of style and taste. It is also a possible source for confusion which may lead to errors: when you read the implementation (where no parameters are defined) it is not clear that 'something' is a parameter instead of a wide-scoped variable.

This is a contributed rule, not by default available in the Prolint setup. You can download it separately to your prolint/contribs/rules directory from http://websvn.oehive.org/listing.php?repname=prolint&path=/trunk/contrib...