,prtn('start') ,counter(1, 1, 10, $c) ,prtn($c) ,next ,prtn('end') ;
D:\sample\lib>adp counter.p start 1 2 3 4 5 6 7 8 9 10 end
,each({ 'a', 'b', 'c'}, $item), prtn($item), next;実行例1
D:\sample\lib>adp each1.p a b c
,each({ 1, 2, 3, 4}, { 'A', 'B', 'C'}, $item1, $item2) ,prtn($item1,':',$item2) ,next;実行例2
D:\sample\lib>adp each2.p 1:A 2:B 3:C 4:NIL
,transfer($filepath); ,printn('transfer was called');
,transfer($filepath),printn('transfer was called');
,printn('transfer1'); ,transfer('transfer2.p'); ,printn('I am not printed.');
,printn('transfer2'); ,transfer('transfer3.p'), printn('I am printed.');
,printn('DONE.');
D:\sample\lib>adp transfer1.p transfer1 transfer2 I am printed. DONE.