capo Posted January 23, 2009 Share Posted January 23, 2009 this thread im talking about: http://www.autoitscript.com/forum/index.php?showtopic=25690i try to add new function to it:if StringLeft($linecontent,5 ) = "joob(" Then Local $newstring, $new2 $assign = StringSplit($linecontent,',',1) $newstring = StringReplace($assign[2],")","") $new2 = StringSplit($assign[1],"(",1) Assign($newstring,$new2) $variables[$i] = $newstring EndIfand i enter this in the input box:joob(2,$number) print $numberand it says print $number Syntax Error: Variable not declaredwhy??btw i dont know if this is right place to post :S Link to comment Share on other sites More sharing options...
JRowe Posted January 23, 2009 Share Posted January 23, 2009 (edited) The error tells you exactly whats wrong... The variable hasn't been declared. Please do a little learning and searching before you jump in. Somewhere before the code you posted, place this: $number = "declared" Look up variables in the autoit help file, and you will find an explanation of what variables are and how to use them. Good luck! Edited January 23, 2009 by JRowe [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
capo Posted January 23, 2009 Author Share Posted January 23, 2009 I'm talking about the variable isn't being declared in razerM's uranium script poc...U read next time lol jokes. Link to comment Share on other sites More sharing options...
JRowe Posted January 23, 2009 Share Posted January 23, 2009 Ahh, yeah. I see now. You're gonna have to debug it yourself [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] 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