Artem Cherniavsky
arvicher
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Unknown variables in VEX Aug. 12, 2017, 4:20 a.m.
Thank you for help! It's useful advice.
Unknown variables in VEX Aug. 11, 2017, 2:30 p.m.
Hi! I am new in VEX and programming and my questons are noob, but I can't find answers on official site and forums. need help from community. I'd appreciate if you help me. The first answer is about variable nm in operator “for”. For example:
for (int nm=0; nm<max_nm; nm++)
“nm” was not defined by myself with other variables. Is it a number of iteration? The loop will broke when variable “nm” will reach the number which contains in variable max_nm, will not it? Please correct me.
Second answer concerns another variable “n” which was not defined too. For example:
foreach(int n; neighs_all)
“neighs_all” is an array, it contains integers. Is variable “n” a number of integer contained by this array?
I have read about functions “for” and “foreach” on sidefx.com, but I didn't find info about undefined variables which used with this functions. Please help with materials for learning.
for (int nm=0; nm<max_nm; nm++)
“nm” was not defined by myself with other variables. Is it a number of iteration? The loop will broke when variable “nm” will reach the number which contains in variable max_nm, will not it? Please correct me.
Second answer concerns another variable “n” which was not defined too. For example:
foreach(int n; neighs_all)
“neighs_all” is an array, it contains integers. Is variable “n” a number of integer contained by this array?
I have read about functions “for” and “foreach” on sidefx.com, but I didn't find info about undefined variables which used with this functions. Please help with materials for learning.