| 
 
 Hello all  I am trying to understand loops more clearly. I have a question on some code that i  have been studying maybe someone can help:If I have a loop
 for( i = 0; i < BarCount; i++ )
 {
 condition .....
 
 {
 for (j = i + 1; j < BarCount; j++)
 {  ........      .....
 i = j;
 break;
 }
 }
 I am trying to understand this loop construct.
 a) why would i set J to i+1? why not have j=i?
 b) what does i=j accomplish??
 if anyone can clarify that would be great, I have seen this loop construct a few times b4.
 thanks
 zeek
 
 __._,_.___
 
 **** IMPORTANT PLEASE READ ****
 This group is for the discussion between users only.
 This is *NOT* technical support channel.
 
 TO GET TECHNICAL SUPPORT send an e-mail directly to
 SUPPORT {at} amibroker.com
 
 TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
 http://www.amibroker.com/feedback/
 (submissions sent via other channels won't be considered)
 
 For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
 http://www.amibroker.com/devlog/
 
 
 
 
 ![]()  
 
 __,_._,___
 |