Please enable JavaScript to view this site.

 

Navigation: Macros > Macro Language > Compiler Messages > Errors

Only a single global variable may be passed to IsInitialized

Scroll Prev Up Next More

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