25 %MACRO _reportTabsHTML (i_tabnames
30 %let l_string=^{RAW <ul
class=
"tabs">;
32 %LOCAL i l_class l_string;
34 %DO %WHILE(%sysfunc(scanq(&i_tabnames, &i)) NE );
36 %IF &i=&i_current %THEN %DO;
37 %let l_class=
id=
"current";
39 %let l_string=&l_string. <li &l_class.><a href=
"%sysfunc(compress(%sysfunc(scanq(&i_pages, &i)),%str(%")))
">%sysfunc(compress(%sysfunc(scanq(&i_tabnames, &i)),%str(%")))</a></li>;
43 %let l_string=&l_string. </ul>};
44 title2 %sysfunc(quote(&l_string.));
45 %MEND _reportTabsHTML;