Sign in to follow this  
Followers 0
snowman533

[solved] Variable used without being declared

4 posts in this topic

#1 ·  Posted (edited)

im getting a variable used without being declared error, its not telling me which line its on but the error does come up when Button8 is pressed (Sort Dir By Filename in GUI), i have looked at all vars used in Button8 and cannot locate any undefined ones, maybe you guys will find it

heres the full script, just in case:

http://pastebin.com/xVkif7AG

Edited by snowman533

Intermediate AutoIt/Autohotkey User

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

MsgBox(1, "Files moved", $mm & " files have been moved")

$mm isn't declared anywhere. :(

Edited by OHB

Share this post


Link to post
Share on other sites

Thanks OHB $mm is supposed to be $mnum


Intermediate AutoIt/Autohotkey User

Share this post


Link to post
Share on other sites

You're welcome! :(

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