Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-28-2009, 02:14 PM
ColinJD ColinJD is offline
Member
 
Join Date: May 2009
Posts: 38
Exclamation Boolean Logic operators

Hi,
In a If ... Then statement are there any Boolean Logic Operators available and if so what is the syntax, eg
Code:
 if $A$ = 3 AND $B$ = 4 Then
Reply With Quote
  #2 (permalink)  
Old 05-28-2009, 04:05 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

For AND logical operator you can insert nested If like this,

If $Prompt-Assignment$ Equal To "3" Then
If $Prompt-Assignment$ Equal To "4" Then
Message Box: "And Logical Operator"
End If
End If

For OR logical operator you can use 'Else If' command like this,

If $Prompt-Assignment$ Equal To "3" Then
Message Box: "OR Logical Operator"
Else If $Prompt-Assignment$ Equal To "4" Then
Message Box: "OR Logical Operator"
End If

Hope that helps. If you could tell us more about your case, we would be able to help you more with specific task.

Last edited by forumsupport; 06-01-2009 at 02:18 PM.
Reply With Quote
Reply


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

BB 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 05:01 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved