Group: linux.debian.changes.devel · Group Profile · Search for Inc3 in linux.debian.changes.devel
Author: Chris Lamb
Date: Jul 24, 2008 18:00
Like Joep wrote: that seems to be the right thing for the macro facility. With %%include you are very static. With the macro facility that could be very dynamic. The simplest thing is: you could provide the statements you want to insert as parameter: %%macro doit(stmt1=,stmt2=); .... &stmt1 .... &stmt2 .... %%mend; %%doit(stmt1=%%str(y=sqrt(y);), stmt2=%%str(if y<2 then y=2;)
|