Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 21:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Autoit] Call Function???

Discussion on [Autoit] Call Function??? within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
iCraziE's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 456
Received Thanks: 218
[Autoit] Call Function???

So, I have a simple question that I hope someone can answer.

What is the difference between using the "Call" function and simply running your function in the script?

For example..

Code:
Func _something()
      ;Does some stuff here
      ;more stuff, more stuff...
EndFunc

Call("_something") ;<--- execute "_something" function.

_something() ;<-- or you can use this way instead.
As far as I know they pretty much do the same thing, but there has to be a reason for using one and not the other. Can anyone elaborate on this? Thanks.
iCraziE is offline  
Old 06/14/2017, 04:36   #2

 
Halfbax's Avatar
 
elite*gold: 51
Join Date: Nov 2008
Posts: 486
Received Thanks: 69
You'll get the benefit of executing anonymous functions.

Code:
$FuncName = "Test"

Call($FuncName)
Halfbax is offline  
Old 06/14/2017, 16:23   #3
 
iCraziE's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 456
Received Thanks: 218
ah okay, so thats really it then .. hm thanks for the info
iCraziE is offline  
Reply


Similar Threads Similar Threads
AutoIT. Error parsing function call.
08/28/2015 - AutoIt - 3 Replies
Hey, Mein AutoIt Script zeigt mir beim ausführen folgenden Error an: Line 33 (File"C:Users\Users\PC\Desktop\MausMove.au3&q uot;): MouseMove ( 878, 654 MouseMove ( 878, 654 Meine Frage. Was hab ich falsch gemacht?
std::function of a function returning an std::function
11/11/2013 - C/C++ - 19 Replies
Nun muss ich nach langer Zeit auch mal wieder einen Thread erstellen, weil mir Google nicht mehr weiterhelfen kann. Ich verzweifle an Folgendem Vorhaben: #include <Windows.h> #include <string> #include <iostream> using namespace std;
[VIP-function] ToxicSYS [VIP-function]
08/14/2010 - WarRock Hacks, Bots, Cheats & Exploits - 1 Replies
heeeey E-pvpers :pimp: this is a new hack by TSYS Status : UNDETECTED Functions (VIDEO) : YouTube - WarRock - Bikini event VIP hack



All times are GMT +1. The time now is 21:28.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.