version 1.10, 2003/11/27 12:23:58 |
version 1.11, 2003/12/01 02:13:38 |
|
|
@comment $OpenXM: OpenXM/src/asir-doc/parts/asir.texi,v 1.9 2003/11/27 12:08:58 ohara Exp $ |
@comment $OpenXM: OpenXM/src/asir-doc/parts/asir.texi,v 1.10 2003/11/27 12:23:58 ohara Exp $ |
\BJP |
\BJP |
@node $B%f!<%68@8l(B Asir,,, Top |
@node $B%f!<%68@8l(B Asir,,, Top |
@chapter $B%f!<%68@8l(B Asir |
@chapter $B%f!<%68@8l(B Asir |
Line 860 if ( expression1 ) @{ |
|
Line 860 if ( expression1 ) @{ |
|
@noindent |
@noindent |
\JP $B$H$7$J$1$l$P$J$i$J$$(B. |
\JP $B$H$7$J$1$l$P$J$i$J$$(B. |
|
|
|
\BJP |
|
@noindent |
|
$B4X?t$NCf$G$J$/(B, top level $B$G(B @code{if} $BJ8$rMQ$$$k$H$-$O(B @code{$} $B$^$?$O(B @code{;} |
|
$B$G=*N;$9$kI,MW$,$"$k(B. |
|
$B$3$l$i$,$J$$$H<!$NJ8$,$h$_$H$P$5$l$k(B. |
|
\E |
|
\BEG |
|
@noindent |
|
When @code{if} is used in the top level, the @code{if} expression should be |
|
terminated with @code{$} or @code{;}. |
|
If there is no terminator, the next expression will be skipped to be evaluated. |
|
\E |
|
|
\BJP |
\BJP |
@node $B%k!<%W(B break return continue,,, $B%f!<%6Dj5AH!?t$N=q$-J}(B |
@node $B%k!<%W(B break return continue,,, $B%f!<%6Dj5AH!?t$N=q$-J}(B |
@subsection $B%k!<%W(B, @code{break}, @code{return}, @code{continue} |
@subsection $B%k!<%W(B, @code{break}, @code{return}, @code{continue} |
Line 1294 because such comments cannot be nested. |
|
Line 1307 because such comments cannot be nested. |
|
#define MAX(a,b) ((a)>(b)?(a):(b)) |
#define MAX(a,b) ((a)>(b)?(a):(b)) |
@end example |
@end example |
|
|
|
\BJP |
|
@noindent |
|
C $B$N%W%j%W%m%;%C%5$rN.MQ$7$F$$$k$?$a(B, $B%W%j%W%m%;%C%5$O(B @code{$} $B$r@5$7$/=hM}$G$-$J$$(B. |
|
$B$?$H$($P(B @code{LIST} $B$,Dj5A$5$l$F$$$F$b(B |
|
@code{LIST$}$B$OCV49$5$l$J$$(B. @code{$} $B$NA0$K6uGr$r$*$$$F(B |
|
@code{LIST $} $B$H=q$+$J$$$H$$$1$J$$(B. |
|
\E |
|
\BEG |
|
@noindent |
|
Since we are utilizing the C preprocessor, it cannot properly preprocess expressions |
|
with @code{$}. |
|
For example, even if @code{LIST} is defined, @code{LIST} in the expression |
|
@code{LIST$} is not replaced. Add a blank before @code{$}, i.e., |
|
write as @code{LIST $} to make the proprocessor replace it properly. |
|
\E |
|
|
\BJP |
\BJP |
@node $B%*%W%7%g%s;XDj(B,,, $B%f!<%6Dj5AH!?t$N=q$-J}(B |
@node $B%*%W%7%g%s;XDj(B,,, $B%f!<%6Dj5AH!?t$N=q$-J}(B |