For readability I would replace the while loop with a for loop, cause there is another strange thing I notice; you do i++ even before you use the 'i' variable in the array, so getValue[0] never gets used (also use square brackets for arrays not ()).

Last edited by Reconnoiter; 05/14/17 09:56.