> function myArray pString > return myArrayTest[pString] > end myArray Small typo: myArrayTest[pString] should of course be: myArray[pString]