Intelligent Automation & Macro Software  

Go Back   Tethys Solutions Forums > Products Zone > Automation Anywhere 4.0 Beta
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere 4.0 Beta Feedbacks and suggestions for Automation Anywhere 4.0 Beta


 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-19-2007, 05:25 PM
Stevem Stevem is offline
Junior Member
 
Join Date: Sep 2007
Posts: 2
Default Variable Operations

Nice going guys. Love the Visualize view and Workflows.

Quick question, in variable operation, what type of operations are supported?

-Steve
  #2 (permalink)  
Old 09-20-2007, 10:51 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 522
Default Re:Variable Operations

Hello,

Variable Operations supports expressions, calculations as well as date arithmetic. You can use Variable Operation command to work with the variable assignment. You can assign the value to a variable. The right hand side of the equal to operator can be a regular operation for e.g. you can specify something like $var1$ = ( $var2$ + $var5$ - 10 ) / 5.

This command supports (, ), /, *, + and - operands. The left and right parentheses take the precedence and the operation within them is evaluated first from left to right.

In the subsequent example ($Var1$ + 5) * ($Var2$ -10), ($Var1$ + 5) will be evaluated first, then ($Var2$ -10) and the result of both will be multiplied together and assigned to the variable specified on the left hand side of the equal to sign.

Using Variable Operation command you can increment the value of a variable by one without using $Counter$, convert the value of a variable into thousands, get yesterday's date as a variable and much more.
  #3 (permalink)  
Old 09-20-2007, 03:55 PM
Stevem Stevem is offline
Junior Member
 
Join Date: Sep 2007
Posts: 2
Default

Can you do variable++ to increament, or variable + 1.
How do you convert value of a variable into thousands?
  #4 (permalink)  
Old 09-21-2007, 12:26 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 522
Default

Hello,

To increment the value of a variable by 1 without using $Counter$, please follow the steps given below.
  • Open the Task Editor from Tools->Task Editor.
  • Double click on 'Variable Operations'.
  • On the left hand side of the 'equal to' sign, press F2 and insert the variable whose value you want to increment by 1.
  • On the right hand side of the 'equal to' sign, press F2 and again insert the variable whose value you want to increment by 1.
  • Type '+1' after the variable.
  • Click 'Save' button.

To convert the value of a variable into thousands, please follow the steps
given below:
  • Open the Task Editor from Tools->Task Editor.
  • Double click on 'Variable Operations'
  • On the left hand side of the 'equal to' sign, press F2 and insert the variable whose value you want to convert into thousands.
  • On the right hand side of the 'equal to' sign, press F2 and again insert the variable whose value you want to convert in to thousands.
  • Type '/ 1000' after the variable
  • Click 'Save' button.
 

« - | 4.0 is awesome »

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 04:26 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved