Jump to content

Is there a possibility to have @ working inside a vex function?


kgoossens

Recommended Posts

Hi,

Is there an possibility to have @ working to create write attributes in a vex function?

Something similar to the following

function void test()
{
	i@test_attrib = 10;
}

The reason I want to avoid setattrib is that it is much slower as implementation.

Are there any other idea's? does the *.vcc compiler optimize the setting of attributes? 

 

Cheers

Link to comment
Share on other sites

I'm not sure if this helps, but it does work. You can pass the attribute you want to modify to the function.

function void test(int passedAttrib; int passedValue)
{
        passedAttrib = passedValue;
}

test(i@test_attrib, 12);

 

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...