Read 3int attribute in VEX
1873
3
0
-
- Xue_Yue
- Member
- 56 posts
- Joined: June 2016
- Offline
Hello,
how is it possible to access the second/third/etc entry in an 3int format with VEX?
etc won't work for me and I always get the value of
.
Thanks!
Edited by Xue_Yue - June 2, 2017 07:18:49
Attachments:
access_3int.hipnc (54.3 KB)
-
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
If you cast your tripple int to a vector when you read values from it, it seems to work:
-b
-
- Nima
- Member
- 471 posts
- Joined: Nov. 2013
- Offline
Hello.
See the HIP file.
Attachments:
access_3int_FIXED.hipnc (58.3 KB)
-
- Xue_Yue
- Member
- 56 posts
- Joined: June 2016
- Offline
Thanks bonsak,
thanks Nima,
it works now. Casting is a very good idea.