Fix variable name incompatibility (with fpc)
[fpc] Add missing support for arrays in callbacks