Jump to content

Error parsing function call in 2d array...


Go to solution Solved by mrflibblehat,

Recommended Posts

Posted

Hi, im pretty new here and in autoit too :)

trying to learn somehow and so i started my first project, but im getting more and more errors ^^

i was viable to solve most of them by myself (searching the internet for answers if i can call that by myself :P), but This sort of error is killing me.

$Spielfeld[ i ][ j ] = 0

$Spielfeld[  ^ERROR

Error: Error parsing function call.

the code:

 

For $i = 8 to 0 step -1
   For $j = 0 to 9
         $Spielfeld[ i ][ j ] = 0
   next
next

 

not that much....

the idea behind this is that i have a field that i want to clear  in the beginning of my code

hope you guys can help me :)

greeting jawed

  • Solution
Posted

Hi, im pretty new here and in autoit too :)

trying to learn somehow and so i started my first project, but im getting more and more errors ^^

i was viable to solve most of them by myself (searching the internet for answers if i can call that by myself :P), but This sort of error is killing me.

$Spielfeld[ i ][ j ] = 0

$Spielfeld[  ^ERROR

Error: Error parsing function call.

the code:

 

For $i = 8 to 0 step -1

   For $j = 0 to 9

         $Spielfeld[ i ][ j ] = 0

   next

next

 

not that much....

the idea behind this is that i have a field that i want to clear  in the beginning of my code

hope you guys can help me :)

greeting jawed

Local $Spielfeld[9][10]

For $i = 8 to 0 step -1
   For $j = 0 to 9
         $Spielfeld[$i][$j] = 0
   Next
Next 

[font="'courier new', courier, monospace;"]Pastebin UDF | Prowl UDF[/font]

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
  • Recently Browsing   0 members

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