Trying to include a bit more vex in my workflow as a "shallow end" to grasp code a bit more.
This works as expected,
@Cd = {.1, .2, .3};
This doesn't work,
@Cd = {rand(@ptnum), rand(@ptnum+5), rand(@ptnum+10)};
but this does work,
@Cd = set(rand(@ptnum), rand(@ptnum+1), rand(@ptnum+2));
I know what the manual says about set So what's the difference between using set and the first example that makes the middle one fail?
cheers,
Andi.
Simple vex question about setting vector attributes.
1126 2 1- Andi Farhall
- Member
- 115 posts
- Joined: Feb. 2014
- Offline
- Tanto
- Member
- 393 posts
- Joined: Nov. 2016
- Offline
- Andi Farhall
- Member
- 115 posts
- Joined: Feb. 2014
- Offline
-
- Quick Links