This compiler error will occur if one of your non-void user-defined functions contains a return call that is not followed by a value.
For example.
// user-defined functions
function ConcatenateResult() : s
begin
// code to prepare the result
return // error 110202, non-void functions must return a value
end
// main body of the macro
var
begin
// do some processing
sResult = ConcatenateResult()
end
Non-void user-defined functions should end with a return statement followed by a value of the type of the function prototype.
Topic 110202, last updated on 15-Nov-2024