Update VfrCompile to check Array Index and VarId data type.