[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: loop Qu.



PureBytes Links

Trading Reference Links

On Wed, 19 Mar 2003, Jon Macmichael wrote:

> If there are a number of loops in one system, being coded like;
> 
> For Value28 = 0 to 9 begin
>      yxyxyxyxyxy
> end;
> 
> For Value29 = 0 to 9 begin
>      bfbfbfbfbf
> end;
> 
> Could the same Value (ie: Value28) be used in both loops?
> 
> It seems that once a loop is completed each bar then the Value is redundant
> and could be reused for another loop, instead of using many Values,  prior
> the end of the code?
> 
> Thanks
> Jon
> 
> 

The looping index Value28 can be used in both loops.





  • References: