This compiler error will occur if the keyword input is found after the var section in a macro.
For example:
var
input // should be before the var section
begin
end
Make sure that you follow the order: global > input > var.
Topic 109501, last updated on 18-Apr-2020