- For and while are different versions of the same thing
i = 0; while(i < 100){ ....code i = i + 3; }
for(i = 0; i < 100; i+=3){ ....code }
Play videoPlease edit your post.
For large amounts of code, attach it.
OK thanks for the format in the 'For' statement - couldn't finsd it in documentation.
your point 2. - i did use SRC button that;s why text is in the SRC box - or am i missing something?
sd59: your point 2. - i did use SRC button that;s why text is in the SRC box - or am i missing something?
I assumed because While wasn't highlighted in blue, sorry. It's while not While.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Is there a more elegant way of running a cycle loop in increments greater than one:
Is there a format using the 'For' function?
thanks