gcue Posted April 29, 2009 Posted April 29, 2009 (edited) i cant figure out why this doesnt error: line 61 in file = "<string>CAPIALW</string>" $firm = FileReadLine($file, 61) $firm_check = StringInStr($firm, "CAPITAL",1,1) if @error then.... Edited April 29, 2009 by gcue
system24 Posted April 29, 2009 Posted April 29, 2009 (edited) Try If $firm_check = 0 Then... @error only returns 1 if either the first or second parameter is invalid. Edited April 29, 2009 by system24 [center]It's a question of mind over matter, if I don't mind, it doesn't matter.[/center]
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