This compiler error will occur if one of your non-void user-defined functions contains a return call that is followed by a value of the wrong type.
For example:
// user-defined function
function ConcatenateResult() : s
begin
// code to prepare the result
return 33 // error 188300, expecting a string, but returning a number
end
// main body of the macro
var
begin
// do some processing
sResult = ConcatenateResult()
end
The type of value returned by a user-defined function must match the type of the function prototype.
Topic 188300, last updated on 15-Nov-2024