Jump to content

Working With Attributes That Don't Have Variable Mappings


Recommended Posts

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

Link to comment
Share on other sites

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 by doc
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...