juniorlcq: let's say OrdersTotal() == 3 , with the count down for loop for ( int x = ( OrdersTotal() - 1 ) ; x >= 0 ; x-- ) , x will save the 1st value as 2 , then it will continue the for loop from 2 onwards without going through OrdersTotal() again ?? | Yes. It does that wither you used x-- or --x. For and while are interchangeable.The difference is x-- retrieves the original value 2 after making x=1 before throwing the value away. (The value isn't used, unlike arr[x--]) |
HELP WITH CODE
How do I get
iCustom values
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