&DEFVAL
&defval &Defval
You can replace the following code:
% REPEAT VARYING &SC-I FROM 1 % WHILE &DEFINED( &<&SCR>-FLD-<&SC-I>) % &VAR = &<&SCR>-FLD-<&SC-I> % END
With this code.
% REPEAT VARYING &SC-I FROM 1 % WHILE &DEFINED( &<&SCR>-FLD-<&SC-I>) % &VAR = &DEFVAL % END
Comments:
&DEFVAL is an abbreviation that executes faster than the equivalent, more explicit code.