Sign in to follow this  
Followers 0
capo

RazerM's uranium help.

4 posts in this topic

this thread im talking about: http://www.autoitscript.com/forum/index.php?showtopic=25690

i 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
            EndIf

and i enter this in the input box:

joob(2,$number)
print $number

and it says print $number

Syntax Error: Variable not declared

why??

btw i dont know if this is right place to post :S

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by JRowe

Share this post


Link to post
Share on other sites

I'm talking about the variable isn't being declared in razerM's uranium script poc...U read next time lol :) jokes.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0