Alandor 0 Posted July 6, 2004 I read all over the forum UDF a lot of times, but I don't know what It means. Can anyone tell me what It means ?? Thanx very much - Alandor - Share this post Link to post Share on other sites
techbard 1 Posted July 6, 2004 Probably, it means User Define Function... Share this post Link to post Share on other sites
pekster 0 Posted July 6, 2004 Correct. A User Defined Function is a function that you can define in your code to do a task. It is often used so that you can eaisily run a block of code without having to type it out over and over. It can also return a value, and/or accept paramaters into the function. You can create some functions, and put them in a seperate source file so that you can include them in your scripts. That way, you just need to do a #include <FileName.au3> at the top of any script to gain access to any functions defined in that file. The full install of AutoIt also comes with some UDFs that you can use. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Share this post Link to post Share on other sites
CyberSlug 6 Posted July 6, 2004 Yep, it means a user-defined function. The following is an example of a UDF that counts the number of times a character occurs in a string: Func _StringCount($string, $char) Local $i, $count For $i = 1 to StringLen($string) If StringMid($string, $i, 1) = $char Then $count = $count + 1 Next Return $count EndFunc Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Share this post Link to post Share on other sites
ezzetabi 3 Posted July 6, 2004 I think we should add this question to the FAQ Share this post Link to post Share on other sites
Alandor 0 Posted July 6, 2004 Ohhh, ok ok. I know what a user function is. But becausse my native language is spanish and we don't use UDF in coding, I thought It was something different. Thanx very much to all for your help. Greetings, - Alandor - Share this post Link to post Share on other sites
Josbe 1 Posted July 6, 2004 @Alandor: Also, you can download this help file AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Share this post Link to post Share on other sites
Alandor 0 Posted July 15, 2004 Thanx Josbe, I downloaded already the spanish help file. But the problem was not the english language, only was the meaning of UDF. Share this post Link to post Share on other sites
Josbe 1 Posted July 15, 2004 Thanx Josbe, I downloaded already the spanish help file. But the problem was not the english language, only was the meaning of UDF. Fine. You could see the section(at the end): "Notas del traductor" AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Share this post Link to post Share on other sites
Proof 0 Posted July 16, 2004 Or check the Acronymfinder. Share this post Link to post Share on other sites