Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Increase Value of Numerical variable in a sequence
Topic Summary: Increase Value of Numerical variable in a sequence
Created On: 01/29/2015 07:35 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by RobertCox, on Friday, January 30, 2015 11:08 AM

Answer:
Thanks! that's great
 01/29/2015 07:35 AM
User is offline View Users Profile Print this message

Author Icon
RobertCox
Apprentice (20-49)

Posts: 41
Joined: 06/29/2005

Hi

What I want to do is this;
If my first variable "V1" is set at say "4", I want my additional variables to be set with the first value +1 in sequence;

ie. "V1" = 4

So, "V2"=5, "V3"=6, "V4"=7, "V5"=8


Many thanks!


 Category Survey
AutoMate 6 version: 6.0.0
Windows version: Windows Vista
 01/29/2015 01:22 PM
User is offline View Users Profile Print this message

Author Icon
Alex Escalante
HelpSystems

Posts: 871
Joined: 02/26/2014

Hello Robert,

Attached you will find a code that will add 1 to the previous variable. Once the first variable is set (either at the beginning of the task or set by an action within the task), the other variables will be able to add 1 to the initial variable and each following variable.

 Category Survey
AutoMate 6 version:
Windows version:



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


-------------------------

Alex Escalante | Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665
 01/29/2015 01:23 PM
User is offline View Users Profile Print this message

Author Icon
Gijsberth de Ruiter
Artisan (200-499)

Posts: 455
Joined: 03/30/2005

see attached example (from v10)

 Category Survey
AutoMate 6 version:
Windows version:



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


-------------------------
I am an A-Team Member
 01/30/2015 11:08 AM
User is offline View Users Profile Print this message

Author Icon
RobertCox
Apprentice (20-49)

Posts: 41
Joined: 06/29/2005

Answer Answer
Thanks! that's great

 Category Survey
AutoMate 6 version: 6.0.0
Windows version: Windows Vista
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1572 guests browsing this forum, which makes a total of 1572 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog