ma nel ciclo while a var[] non devo associare un indice?