Home › Forums › Problems and solutions in GDL › Parameter connections › GLOB_MODPAR_NAME and arrays › Reply To: GLOB_MODPAR_NAME and arrays
January 19, 2016 at 16:24
#2123
James Murray
Participant
I have an array of XYZ points, where either X or Y must be zero. So if the user puts a value in X, it would be nice to have the Y automatically zero out, and vice versa. For non array parameters:
IF GLOB_MODPAR_NAME='xParam' & ABS(xParam-0)>eps THEN PARAMETERS yParam=0
IF GLOB_MODPAR_NAME='yParam' & ABS(yParam-0)>eps THEN PARAMETERS xParam=0
James M