N
Neal Zimm
Hi,
In a module I have in declarations,
Public Type uSx
var names...
end type
In same module , general code, a function, uSx = uSxMakeF(arg, arg, ....)
All was working well.
I moved the uSx record definition to another module, "above" uRecA, where:
Public Type uRecA
other vars ...
uSx as uSx
end type
I now get circular dependancies compile error pointing at the above function.
uRecA is not involved in the function.
What is the best practice module batting order that will get rid of this
error ??
I had thought that as long as the "user" of public types was below, or in a
module after the Public Type, that I would not get this error.
Me experience had been that in the uRecA example, as long as other public
types that it used were "above" it, the "find it to use it" requirement
would be met.
Thanks,
In a module I have in declarations,
Public Type uSx
var names...
end type
In same module , general code, a function, uSx = uSxMakeF(arg, arg, ....)
All was working well.
I moved the uSx record definition to another module, "above" uRecA, where:
Public Type uRecA
other vars ...
uSx as uSx
end type
I now get circular dependancies compile error pointing at the above function.
uRecA is not involved in the function.
What is the best practice module batting order that will get rid of this
error ??
I had thought that as long as the "user" of public types was below, or in a
module after the Public Type, that I would not get this error.
Me experience had been that in the uRecA example, as long as other public
types that it used were "above" it, the "find it to use it" requirement
would be met.
Thanks,