2 Replies Latest reply on Jul 3, 2007 10:25 AM by Miran Loncaric

    Correct syntax with associative arrays??

    gpimpler
      Hi All,

      I'm doing something wrong with my syntax. I'm trying to grab data out of an associative array, but I'd like to be able to dynamically pass that array name on a button press. Can someone help me out with the correct syntax. I can easily setup a switch statement and copy the code and hard code each associative array name three times...but I have that whole block below 3 times. It works...but it's very ugly. I'd like to just pass the 'phase' dynamically since they all use the same code setup, just different array names. Any help would be greatly appreciated. - Grant