
PRO
rz90208
USA
Asked
— Edited
for some reason I can not get the following simple statement to workCode:
$Test = "123 123 123"
repeatuntil(contains($Test," ") != true)
Print($Test)
endrepeatuntil
I get the following errorCode:
8: repeatuntil(contains($Test," ") = true)
> Error on line 8: Missing ) in Expression
I have tried using repeatWhile also same result.
I just don't see what I am missing
no errors:
Code:
same error:
Code:
EDIT: The problem is common to RepeatWhile and RepeatUntil statements.
Good to know its not just me. I am sure DJ will have it corrected first chance he gets. Until then I will use a if statement and a loop counter.
I am surprised this went so long without being reported.
Use the new Count() function from this release: http://www.ez-robot.com/Community/Forum/Thread?threadId=10983
Code:
Count function how did I miss that!
That is a bit shorter than I was doing it.
Code:
Thanks again DJ.
Code: