Hello Olivier,
Pour un tableau créé dans "Paramètres", la fonction REDIM n'opère pas. C'est uniquement pour un tableau créé au cours des scripts.
Pour changer le nombre de valeurs d'un tableau, il suffit de charger une valeur avec l'indice maximum voulu.
Par contre, il n'est pas possible de réduire le nombre de valeurs par la suite sans recréer (et donc remplacer) le tableau avec la fonction de création de variable NEWPARAMETER.
De plus, l'aperçu en bas du script du contenu des tableaux n'est pas mis à jour pour la partie "parameter" après la boucle. Mais si la partie "variable" est correcte, ce sera bien ce qui sera stocké.
Je pense aussi qu'il est préférable de mettre "PARAMETERS test [ i ]= test [ i ]" en cours de boucle plutôt que "PARAMETERS test = test" après la boucle.
___________________________________________
For an array created in "Settings", the REDIM function does not operate. This is only for a table created during the scripts.
To change the number of values in an array, just load a value with the desired maximum index.
On the other hand, it is not possible to reduce the number of values afterwards without recreating (and therefore replacing) the array with the NEWPARAMETER variable creation function.
In addition, the preview at the bottom of the script of the table contents is not updated for the "parameter" part after the loop. But if the "variable" part is correct, it will be what will be stored.
I also think that it is better to put "PARAMETERS test [ i ]= test [ i ]" during the loop rather than "PARAMETERS test = test" after the loop.