kgoossens Posted December 13, 2016 Share Posted December 13, 2016 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 Quote Link to comment Share on other sites More sharing options...
Atom Posted December 13, 2016 Share Posted December 13, 2016 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); 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.