Blacklisted_Guy Posted September 23, 2016 Share Posted September 23, 2016 Hey there fellow scripters, I've run into an issue with the len function not returning the size but an error. For some reason it's expecting an identifier whilst I did input the right variables theProblem.hipnc Quote Link to comment Share on other sites More sharing options...
Zybrand Posted September 23, 2016 Share Posted September 23, 2016 Hi Blacklisted_Guy The len() function is not the problem it's the array attribute you are calling in the function. You already declared it in the line above so now you just have to write the name: int pointCount = len(curve); Because if you write int curve[] again you are making a new attribute with the same name as the first one that already exists. 1 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.