%DOグループを終了します。
| 種類: | マクロステートメント |
| 制限事項: | マクロ定義でのみ使用可能 |
%macro test(finish);
%let i=1;
%do %while (&i<&finish);
%put the value of i is &i;
%let i=%eval(&i+1);
%end;
%mend test;
%test(5)The value of i is 1 The value of i is 2 The value of i is 3 The value of i is 4