View Full Version : Solved: For loop, counter
nitzbar
09-03-2008, 12:35 PM
Hi !
What is the syntax in a for loop for the counter to move by an specified increment i.e. -2, +2 as opposed to +1 ?
Bob Phillips
09-03-2008, 12:40 PM
For i = start to end Step increment
nitzbar
09-03-2008, 12:46 PM
As in.. something like this ?
For plotprice = ref_price To price + 2
or
For plotprice = price To ref_price - 2
?
Bob Phillips
09-03-2008, 12:58 PM
No,
For plotprice = ref_price To price Step 2
or
For plotprice = price To ref_price Step - 2
nitzbar
09-03-2008, 05:19 PM
got it... thanks a bunch...:biggrin:
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.