This compiler error will occur if the keyword begin is found twice in a macro.
For example:
var
begin
// do some stuf
// ...
// ...
begin // oops !!!
end
This usually comes from an incomplete cut/paste.
Topic 109504, last updated on 18-Apr-2020