stackover Posted January 28, 2007 Posted January 28, 2007 What is the diference of use Call('') or Call()? I dont see any diference. Any difenrece in background or for processor. Anyway what is better use for one and for other? Regards
Shevilie Posted January 28, 2007 Posted January 28, 2007 I would use Call("") .. Reason I think it looks better, i dont think theres anything else to it Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit
freanir Posted January 29, 2007 Posted January 29, 2007 (edited) It isn't possible to call the function Call without the first parameter. You at least have to use: Call('Test1') Func Test1() MsgBox(4096, '', 'Hello') EndFunc Edited January 29, 2007 by freanir freanir
xcal Posted January 29, 2007 Posted January 29, 2007 What is the diference of use Call('') or Call()? I dont see any diference. Any difenrece in background or for processor. Anyway what is better use for one and for other?RegardsIt's Call('myfunc') or myfunc(). Not Call('') or Call(). How To Ask Questions The Smart Way
stackover Posted January 29, 2007 Author Posted January 29, 2007 (edited) @xcal .... everybody understood what I wanted to say If u cant help dont flood. Regards Edited January 29, 2007 by stackover
xcal Posted January 29, 2007 Posted January 29, 2007 @xcal .... lol everybody means what I meant...If u cant help dont flood.RegardsBecause you have such a way with words?If you meant something different than what you posted, why not just post what you meant in the first place? How To Ask Questions The Smart Way
Helge Posted January 29, 2007 Posted January 29, 2007 Makes sense and is the normal way of calling a function : func1()Makes sense as Call's parameter isn't only a literal string but also a variable : Call("func" & $i)Makes no sense at all since Call's parameter is a literal string : Call("func1")Using Call with only literal strings is pretty much like asking the telephone operator what the number for 911 is.Normally, unless I'm insanely bored, I just ignore topics where the OP is using Call like that...that or I just can'tfind the "Reply"-button due to all the blood in my eyes. Also, stackover...you obviously weren't very clear in whatyou meant, since freanir also misunderstood you.
stackover Posted January 29, 2007 Author Posted January 29, 2007 Thanks Helge, now I know the diference between Call('myfunc') or myfunc(). LOL
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