Hi all,
I've been trying this now for two hours without success.
I'd like to create “list of lists of integers” in VEX. I need to access each pair again later on by index.
In python:
mylist = [, , ]
mylist –>
I cannot figure out how to create the elements, as int, vector2, array().
Any help would be appreciated. Thank you!
m.
list of list of integers (VEX)
2143 5 0- deadalvs
- Member
- 196 posts
- Joined: Aug. 2011
- Offline
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
- jsmack
- Member
- 7659 posts
- Joined: Sept. 2011
- Online
- deadalvs
- Member
- 196 posts
- Joined: Aug. 2011
- Offline
Hi,
thanks for the inputs, much appreciated.
VEX not yet supporting multi-dimensional arrays is one of those key points, I missed this information…
Well I can use vectors as a hack and then cast the 3 floats to int, I just was searching for a ‘native’ solution.
Thanks again, I believe this should work!
m.
thanks for the inputs, much appreciated.
VEX not yet supporting multi-dimensional arrays is one of those key points, I missed this information…
Well I can use vectors as a hack and then cast the 3 floats to int, I just was searching for a ‘native’ solution.
Thanks again, I believe this should work!
m.
- tamte
- Member
- 8449 posts
- Joined: July 2007
- Offline
-
- Quick Links