TheRock Posted July 19, 2009 Posted July 19, 2009 #include <INet.au3> #include <String.au3> #include <array.au3> Func find($a,$b,$c) $x = _StringBetween($a, $b, $c) $1 = $x[0] EndFunc Error is : ==> Subscript used with non-Array variable.: $1 = $x[0] $1 = $x^ ERROR Can someone help me please ?? At vista i have no error but at xp i have this error
Developers Jos Posted July 19, 2009 Developers Posted July 19, 2009 Test @error if _StringBetween() was successful or post a code snippet we can test with as the posted doesn't show anything really since you do not specify the values with which the Func is called. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
trung0407 Posted July 19, 2009 Posted July 19, 2009 (edited) It means the func return error (no match) -.- You should always put an error handler If @error then Return Edited July 19, 2009 by trung0407
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