Sign in to follow this  
Followers 0
faustf

problem with variable

4 posts in this topic

hi  guy

i  have  a  program  big   in  a part  of  this    af  this   code 

For $i = 1 To $aDays[0] ; Loop through the array returned by StringSplit to display the individual values.
       ;MsgBox($MB_SYSTEMMODAL, "", "$aDays[" & $i & "] - " & $aDays[$i])

               if  $i >= '12' Then

                Local split_nomi =stringsplit($aDays[$i]," ")

               _GUICtrlListView_AddItem($idListview_down,  nomi_spe[2])
               _GUICtrlListView_AddSubItem($idListview_down, $k, $aDays[$i], 2)
               _GUICtrlListView_AddSubItem($idListview_down, $k, $aDays[$i], 3)
               _GUICtrlListView_AddSubItem($idListview_down, $k,$aDays[$i], 4)
               _GUICtrlListView_AddSubItem($idListview_down, $k, $aDays[$i], 5)

                $k = $k + 1
                EndIf
    Next

when  execute  the  code , return this  error

 No variable given for "Dim", "Local", "Global", "Struct" or "Const" statement.:
Local split_nomi  =stringsplit($aDays[$i]," ")
Local ^ ERROR
>Exit code: 1    Time: 1.437

 

why _????

thankz  for  help

Share this post


Link to post
Share on other sites



What is a "$" sign for $200, Alex...

1 person likes this

Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

Share this post


Link to post
Share on other sites

ooo fu...... i am very stupid   >_<  >_<  >_<  >_<   sorry 

Share this post


Link to post
Share on other sites

NP, we've all experienced  "you can't see the forest for the trees"...

1 person likes this

Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

Share this post


Link to post
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
Sign in to follow this  
Followers 0