AnsweredAssumed Answered

Problem with calls to imported user functions

Question asked by VRFuser on Feb 18, 1998

I have a Vee program which imports two instances of the same user
functions. These
are assigned different names - ie Instance1 and Instance2

My problem is that when I call a function within Instance1 (ie
Instance1.Init), and that function contains a call to another function
within the library, it will in some cases call the similarly named function
in Instance2.

Is there anyway to control the scope of functions within libraries (ie make
some global and some local) as it is with variables?  Or is there another
way around this problem.

I guess I could use user-objects to keep local the procedures local - but
that's not very tidy.


Jonathan Guy
Guy Electronics Ltd.
Auckland, New Zealand
Ph (64-9) 535-4686
Fax (64-9) 535-4691