_Kurt Posted November 16, 2006 Posted November 16, 2006 Hey guys, Whenever I hit a wrong array, the program ends right away. So I added: If Array = 1 Then MsgBox(0,"","error") but it still terminates the program. What I'm presently using is Valuater's _restart function. Is there a way to keep the program running even if the array has failed? here's the example: $Array = StringRegExp($Source, $Text, 3) If $Array = 1 Then MsgBox(0,"","Array Error.") _restart() ;Put Something Here? EndIf Thanks, Kurt Awaiting Diablo III..
GaryFrost Posted November 16, 2006 Posted November 16, 2006 $Array = StringRegExp($Source, $Text, 3) If Not IsArray($Array) Then MsgBox(0,"","Array Error.") _restart() ;Put Something Here? EndIf SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
_Kurt Posted November 16, 2006 Author Posted November 16, 2006 THANK YOU SO MUCH FOR HELPING ME!! *sarcasm* anyone else have ideas? Awaiting Diablo III..
/dev/null Posted November 16, 2006 Posted November 16, 2006 (edited) anyone else have ideas?Don't flame those who try to help you, especially if you don't understand the solution!!! *** NO sarcasm ***CheersKurt Edited November 16, 2006 by /dev/null __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
GaryFrost Posted November 16, 2006 Posted November 16, 2006 THANK YOU SO MUCH FOR HELPING ME!! *sarcasm*anyone else have ideas?Did you see me post anything even remotely looking like I was trying to be a smart-ass?Take your sarcasm else where. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
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