#1
|
|||
|
|||
Increment a numeric value in a macro
I have a need to increment numeric value of a Macro .e.g Macro1 after certain steps are performed, how do you achieve this in VBP 8?
Here is pseudo code. 1. Perform action1. 2. Macro1 + 1 3. Perform Action 2 4. Macro1 + 1 Note: in step 4 value of Macro1 should be 2. |
#2
|
|||
|
|||
#3
|
|||
|
|||
As always, thanks a bunch for your prompt reply however I ended up using %LOOP_VALUE% along with Loop statement, it worked really well.
|
#4
|
|||
|
|||
One more quick qs:
Is it possible to start Counter in a loop (Using VBP Loop feature) from a specific value .e.g For(i=10;i<= 15;i++)..currently if I used "Count" option from dropdown, VBP always looks at it "UPTO" for instance if %COUNTER% is 45 then VBP loops though 45 times... any help is appreciated |
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
Just use an offset from the loop value. For instance, loop for a Count of 5 and use [%LOOP_VALUE%+10] in the loop.
|
#7
|
|||
|
|||
thanks again for your prompt reply however is there any plan in future to turn LOOP function of VBP a true loop function (as it is available in any other computer language)
|
#8
|
|||
|
|||
It's not really our intention to implement every feature of a programming language in Visual Build itself. We provide the features that would most often be used in build scenarios, and if you need to go beyond that, you can use script code and repeating build rules.
http://www.kinook.com/VisBuildPro/Manual/script.htm http://www.kinook.com/VisBuildPro/Manual/buildrules.htm |
#9
|
|||
|
|||
Thank you so much for your response..and I also want to point out that you guys are doing a great job by keeping customer support up, every tools has its pros and cons but a great customer support can off set that gap.. which you guys have done very well.
I have had used many tools similar to VisualBuild, I must say, VisualBuils is certainly easy to use and very intuitive...The only issue I see is with Help documentations which is just not easy to follow.... Thanks again |
Thread Tools | |
Display Modes | Rate This Thread |
|
|