doc Posted July 6, 2007 Share Posted July 6, 2007 Hi, My sop works great with Incoming attributes(eg $FOO) that have variable mappings via the "varmap" detail attribute. But if I try to us the normal attribute (which doesn't have) an associated varmap entry $NX will not work. My first inclination is to make local variables that I can associate with the special attributes (Cd, N,v, life etc), but before I did I was wondering if there's a different/better approach. Many thanks L Quote Link to comment Share on other sites More sharing options...
doc Posted July 12, 2007 Author Share Posted July 12, 2007 (edited) figured it out. setupLocalVars(); Does the trick, I was running into trouble because I need set my enum values(for the other local variables I was defing) to be something high. enum { VAR_PT=200, // Point number of the star VAR_NPT=201, etc... Apparently if you don't do this there's a conflict between your local variables and those defined by setupLocalVars(). At least I think that's what the issue was, seems to be working now. L Edited July 12, 2007 by doc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.