Wb-FreeKill Posted February 16, 2005 Share Posted February 16, 2005 (edited) If IniRead("C:\her.ini","count","$10c ~$65c", "Notfound") = 1 Then Exit EndIf how can i in a simple way code, when all $10c, $11c, $12c....$65c are = 1 then exit? Edited February 16, 2005 by Wb-FreeKill Link to comment Share on other sites More sharing options...
SlimShady Posted February 16, 2005 Share Posted February 16, 2005 (edited) *I'm a little sick.* I'm not sure if this does what you want. $Matched = 1 For $i = 10 To 65 $val = IniRead("C:\her.ini","count","$" & $i & "c", "Notfound") If $val <> "1" Then $Matched = 0 EndIf Next If $Matched = 0 Then ;At least one value does not equal the number "one"! Else ;No value contained anything other than the number "one" Exit EndIf Edited February 16, 2005 by SlimShady Link to comment Share on other sites More sharing options...
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