Jump to content

Attribute Arrays within POPNet Node


CinnamonMetal

Recommended Posts

This code is all within a POPNet Node (Vex Expressions)  

int tArray[] = {}; // Is the {} required for a variable ?
for(int i=0;i<500;i++){
append(tArray,i);

The above code is part of a larger block of code; but it doesn't write to an array, as in; there is no array attribute visible within the geo spreadsheet ?

As well, can't I write to an array as such ?

i[]@pntCol;
for(int i=0;i<500;i++){
append(i[]@pntCol,i);

 

Edited by CinnamonMetal
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...