When accessing hlp.Flags, VAX only shows the members of the global version of Flags, rather than the version of Flags local to the hlp structure. Is there a way to fix this apart from renaming one of the structures?
I was surpised at your response at first, but I've just noticed I was still using version 10.0 of VAX, so I've now upgraded to the 10.1 release and the problem has gone away. Sorry for troubling you.