AutoIt Help !

04/10/2013 19:38 Primmo#1
Hello , i want to present my ID Changer today for S4 League Section and i have just 1 little problem :c , called : func Start ($iniFile)
Error:Duplicate function name.


Screen :

[Only registered and activated users can see links. Click Here To Register...]



Source code (If there's any other problem,tell me ^^):
04/10/2013 20:06 Mosaxify#2
wenn du mir die beiden #Include <....au3> datein geben würdest könnte ich gucken ob das so stimmt was ich jetzt verändert habe und keine sorge ich werde es nicht als meins ausgeben ich möchte dir nur helfen^^


Englisch (google translater) :
if you would give me the two # include <.... au3> datein I could watch if that's true then what I have now changed and no I'm not going to worry as mine I would like to spend only help you ^ ^
04/10/2013 20:12 omer36#3
Quote:
Error: Duplicate function name
well.. maby u need to update your OS? or upgrade.
04/10/2013 20:54 .AppleTree.#4
You may have a function called "Start" in your includes, rename one of them. I'd preffer the one in the included file.
04/10/2013 21:40 Primmo#5
Quote:
Originally Posted by .AppleTree. View Post
You may have a function called "Start" in your includes, rename one of them. I'd preffer the one in the included file.
And in what i should call them? #include <Re....au3>?
04/11/2013 16:15 xxBlackHawkixx#6
Maybe two Functions have the same name?
04/11/2013 16:27 FacePalmMan#7
rename your start function to start2 or to what ever!
04/11/2013 21:58 xxBlackHawkixx#8
I think it's fixed because it's released ^^
04/11/2013 23:24 Rorc#9
Even though your Problem seems to be resolved, I'd like to give you a tip of advice.

Try to name your Functions really specifically, e.g. "_OverwriteValues()", or something like that, it makes the code better readable, and you do not have to fear having this error.

My personal preference for funtionnames is also, to put a "_" infront of the actual functionname, this also makes for better readability, as you will allways know, that this is a custom command, that you are using, not a default .au3 function.
04/12/2013 12:20 Primmo#10
Quote:
Originally Posted by Rorc View Post
Even though your Problem seems to be resolved, I'd like to give you a tip of advice.

Try to name your Functions really specifically, e.g. "_OverwriteValues()", or something like that, it makes the code better readable, and you do not have to fear having this error.

My personal preference for funtionnames is also, to put a "_" infront of the actual functionname, this also makes for better readability, as you will allways know, that this is a custom command, that you are using, not a default .au3 function.
Thank you , Rorc , epic advice thanks ^^.