-- -- hyperfweave.ch -- --
@x
@ Here is a macro that outputs a module number in decimal notation. The
number to be converted by |out_mod| is known to be less than |def_flag|, so
it cannot have more than five decimal digits. If the module is changed, we
output~`\.{\\*}' just after the number.
@=@[
SRTN out_mod FCN((n))
sixteen_bits n C1("Module number.")@;
{
char s[6];
sprintf(s,"%u",n); OUT_STR(s);
if(chngd_module[n]) OUT_STR("\\*");
}
@y
@ Here is a macro that outputs a module number in decimal notation. The
number to be converted by |out_mod| is known to be less than |def_flag|, so
it cannot have more than five decimal digits. If the module is changed, we
output~`\.{\\*}' just after the number.
This one surrounds the module number by a macro call. It is up to
some fwebmac modification what to do with it. The intended use
is to hypertex a web. See |'Hyperfweb.tex'| for reference.
@=@[
SRTN out_mod FCN((n))
sixteen_bits n C1("Module number.")@;
{
char s[6];
sprintf(s,"\\HySR{%u}",n); OUT_STR(s);
if(chngd_module[n]) OUT_STR("\\*");
}
@z