Reset variable arrays using loop
ArborX


Summary
This example illustrates the multiple combined uses of scripting loops labels and jumps in a script that resets values of a set of variable arrays.

This example illustrates the multiple combined uses of scripting loops labels and jumps in a small script that resets values of a set of variable arrays, (see also Variables).

 ^max_param=10 1
 ^param_array_incr=0 2
 :set_param_vars 3
 ^param_array_incr++ 4
 ?=^(^param_array_incr),^(^max_param) }exit_set_param_vars 5
 ^assd_com(^param_array_incr)= 6
 ^group_type(^param_array_incr)= 7
 ^param_nm(^param_array_incr)= 8
 ^param_typc(^param_array_incr)= 9
 ^param_descript(^param_array_incr)= 10
 {set_param_vars 11
 :exit_set_param_vars 12

Document created on 08-Feb-2003 (revision 1)