Intelligent Automation & Macro Software  

Go Back   Tethys Solutions 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 06-11-2008, 01:12 PM
frenchmarky frenchmarky is offline
Junior Member
 
Join Date: Jun 2008
Location: moreno valley, calif
Posts: 10
Default IF within LOOP bug?

I am experiencing a weird apparent AA bug when I place an IF/END IF within a LOOP. Currently the IF statement is false (and the only statement in it is a msgbox, which is not popping up.) Even when it's false, the program just bails out with a 'completed' status at that point and I can't see why or how.
At the point that it's running here, Clipboard = "IN-PROGRESS":

Loop While $Clipboard$ Not Equal To "COMPLETED" Then
Delay (500 ms)
If $Clipboard$ Equal To "ERROR" Then
Message Box "Error condition!!"
End If
End Loop

I tried replacing the IF with a LOOP of the same logic and it works fine, doesn't bail out of the code. And program doesn't bail anymore if I just take the IF out completely.
Thanks!
Reply With Quote
  #2 (permalink)  
Old 06-11-2008, 01:35 PM
frenchmarky frenchmarky is offline
Junior Member
 
Join Date: Jun 2008
Location: moreno valley, calif
Posts: 10
Default

Well NOW it seems to be working, I think I may have a timing issue with some other statements in the loop (I didn't list the whole loop, I should have.)
I will post more when I figure out if I actually still have a problem or not : )
Thanks
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

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 01: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