Marcin1147 Posted April 3, 2009 Posted April 3, 2009 Sorry for my very bad English! I have question. How Do it without GoTo? label: $var=ControlGetText("App","","Edit2") if StringInStr($var,".") Then GoTo label else MsgBox(64,"App",$var) endif
picea892 Posted April 3, 2009 Posted April 3, 2009 I think you would have to use a function. or a continue loop scenario
Exit Posted April 3, 2009 Posted April 3, 2009 (edited) While 1 $var = ControlGetText("App", "", "Edit2") If Not StringInStr($var, ".") Then ExitLoop WEnd MsgBox(64, "App", $var) Edited April 3, 2009 by forumer100 App: Au3toCmd UDF: _SingleScript()
Paulie Posted April 3, 2009 Posted April 3, 2009 A little closer to the original: Do $var=ControlGetText("App","","Edit2") Until NOT StringInStr($var,".") MsgBox(64,"App",$var)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now