This compiler error will occur if there is no var section prior to the instructions block (marked by the begin keyword).
begin
sRESULT = 'hello'
bRESULT = true
end
Although the input and global sections are optional, the var section is not, even if it is to be empty.
Topic 109505, last updated on 18-Apr-2020