Jump to content

Vex pop removegroup() problem


iaiotom

Recommended Posts

Hi,

i'm starting to bulid some nodes with VEX :D but today i found a problem, i think it's a bug but this is the porblem anyway.

This i the script:

pop

proximityGrp(int numPoint=100;)

{

int i = 0;

string num,numa;

num = sprintf("%d",ptnum);

numa = "PrtProx57";

if(ptnum==57){

string b = concat("PrtProx",num);

printf("%s %s\n",numa,b );

removegroup(numa,57); //This works

removegroup(b,57); //This not works

}

}

Why with a simple string removegroup() works, while with a concat string it doesn't work??? If i print the 2 strings they are the same :blink:

thx

iaiotom

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