Home AMX User Forum NetLinx Studio

Arrays in Axcess

Can anyone tell me if a multidimensional array is legal in old axcess? I am trying to us a 2 dimensional array and every time I compile, NS3.3 locks up. My array is defined as plasma[panel][zone] I could have sworn this was completely legal. Anyone with some incite?

Comments

  • ericmedleyericmedley Posts: 4,177
    I seem to remember 2D was the limit.
  • mushmush Posts: 287
    ericmedley wrote: »
    I seem to remember 2D was the limit.

    Your memory serves you well!
  • mushmush Posts: 287
    troberts wrote: »
    Can anyone tell me if a multidimensional array is legal in old axcess? I am trying to us a 2 dimensional array and every time I compile, NS3.3 locks up. My array is defined as plasma[panel][zone] I could have sworn this was completely legal. Anyone with some incite?

    As long as 'panel' and 'zone' are constants and are defined before 'plasma[][]' then there should be no problem.
    Will it compile if you define it thus 'plasma[1][1]'?
Sign In or Register to comment.