2020-09-05 03:49 AM - last edited on 2022-09-26 10:44 PM by Daniel Kassai
2020-09-05 12:06 PM
IF GLOB_MODPAR_NAME = "size1" THEN DIM _tempArray [] _tempArray = myArray DIM myArray [] FOR ii = 1 to size1 IF ii > vardim1(_tempArray) THEN _value = 0 ELSE _value = _tempArray[ii] ENDIF myArray[ii] = _value NEXT ii PARAMETERS myArray = myArray ENDIF VALUES "myArray" RANGE (0, )
2020-09-07 11:26 AM
if GLOB_MODPAR_NAME = "reset" then dim ar1[1][1] dim ar2[1][1] parameters ar1 = ar1, ar2 = ar2 endifMaybe if there is another connection between your arrays based on some GLOB_MODPAR_NAME, it might not work as expected.