Jump to content

What is worng with this trigger?


 Share

Recommended Posts

Func Search()
    For $i = 0 to 9
        $search = FileFindFirstFile($files[$i])
        If $search = -1 Then
            If $startsearch = 1 Then
                $label[$i] = GUICtrlCreateLabel($files[$i] & " = Notfound",20,30)
            Else
                MsgBox(16, "Error: File not founded", "Error: " & $files[$i] & " not founded",3)
                Exit
            EndIf
        EndIf
        If $greencode = 1 Then GuiCtrlSetData($progress, (($i + 10) * 10))
    Next
EndFuncoÝ÷ Ù«­¢+Ù¥´ÀÌØí¥±Ílåt(ÀÌØí¥±ÍlÁtôÅÕ½ÐìÅÕ½Ðì(ÀÌØí¥±ÍlÅtôÅÕ½ÐìÅÕ½Ðì(ÀÌØí¥±ÍlÉtôÅÕ½ÐìÅÕ½Ðì(ÀÌØí¥±ÍlÍtôÅÕ½ÐìÅÕ½Ðì(ÀÌØí¥±ÍlÑtôÅÕ½ÐìÅÕ½Ðì(ÀÌØí¥±ÍlÕtôÅÕ½ÐìÅÕ½Ðì(ÀÌØí¥±ÍlÙtôÅÕ½ÐìÅÕ½Ðì(ÀÌØí¥±ÍlÝtôÅÕ½ÐìÅÕ½Ðì(ÀÌØí¥±ÍlátôÅÕ½ÐìÅÕ½Ðì)¥´ÀÌØí±±låt

And here is what it says

C:\Programmer\AutoIt3\Examples\GUI\Run(221) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.:

$search = FileFindFirstFile($files[$i])

$search = FileFindFirstFile(^ ERROR

What is worng?

Thank you :lmao:

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...