Thanks for the reply, Dave. I tried it but that does not seem to be the issue.I’m getting error in the first line itself(ERR: Syntactically this identifier appears to begin a datatype but it does not refer to a visible datatype in the current scope). I made sure The interface type is visible in the scope. Error seems to go away when I make the interface single dimension.