This compiler error will occur if one of your user-defined functions does not contains a return instruction.
For example.
// user-defined functions
function ConcatenateResult() : s
begin
// code to prepare the result
// ...
// error 188305, missing a return instruction
end
// main body of the macro
var
begin
// do some processing
sResult = ConcatenateResult()
end
User-defined functions should end with a return statement followed by a value of the type of the function prototype (or nothing in the case of a void user-defined function).
Topic 188305, last updated on 15-Nov-2024