Jump to content

len function not working (vex)


Blacklisted_Guy

Recommended Posts

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.

  • Like 1
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...