This compiler error will occur if the parameter you pass to the function IsInitialized is anything else than a global variable.
var
nTemp // a local variable
begin
if IsInitialized(nTemp)
endif
if IsInitialized(33)
endif
end
Note, however that any type of global variable can be passed as parameter.
Topic 109905, last updated on 18-Apr-2020