i utilize functions often but have yet to add anything within the parentheses.
func example() ; <==
endfunc
can someone politely walk me through "what happens within the parentheses?" the help directory is somewhat confusing to me at times..
random script for example:
#Include <File.au3>
#Include <Array.au3>
$Debug = 0
Func EmptyFolder($FolderToDelete) ; <=== *here*
$AllFiles =_FileListToArray($FolderToDelete, "*", 0)
If $Debug Then MsgBox(0, "", $FolderToDelete)
If IsArray($AllFiles) Then
If $Debug Then
_ArrayDisplay($AllFiles, $FolderToDelete)
EndIf
For $i = 1 To $AllFiles[0]
FileDelete($FolderToDelete & "\" & $AllFiles[$i])
DirRemove($FolderToDelete & "\" & $AllFiles[$i], 1)
Next
EndIf
EndFunc
EmptyFolder(@ScriptDir & "\Example")
is the variable being declared / read?