diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/matlabweb/ctest.tex |
Initial commit
Diffstat (limited to 'web/matlabweb/ctest.tex')
-rw-r--r-- | web/matlabweb/ctest.tex | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/web/matlabweb/ctest.tex b/web/matlabweb/ctest.tex new file mode 100644 index 0000000000..f31fc567cc --- /dev/null +++ b/web/matlabweb/ctest.tex @@ -0,0 +1,41 @@ +\input cwebmac + +\N{1}{1}The main function. +\Y\B\F\\{alpha} \5 +\\{tex}\par +\B\F\\{beta} \5 +\\{TeX}\par +\Y\B\&{int} \\{main}(\,)\1\1\2\2\6 +${}\{{}$\1\6 +\X2:declarations\X\6 +${}\\{phi}\K\\{alpha}/\beta;{}$\6 +\&{switch} (\|i)\5 +${}\{{}$\1\6 +\4\&{case} \T{0}:\5 +${}\TeX\K\T{3};{}$\6 +\&{goto} \\{harmful};\6 +\4\&{case} \T{1}:\5 +${}\TeX\K\T{3.1};{}$\6 +\&{break};\6 +\4\&{case} \T{2}:\5 +${}\TeX\K\T{3.14};{}$\6 +\&{break};\6 +\4\&{default}:\5 +${}\TeX\K\T{3.14159};{}$\6 +\4${}\}{}$\2\6 +\4\\{harmful}:\5 +;\6 +\4${}\}{}$\2\par +\fi + +\M{2} +\Y\B\4\X2:declarations\X${}\E{}$\6 +\&{double} \\{phi}${},{}$ ${}\TeX;{}$\6 +\&{int} \|i;\par + +\U1.\fi + + +\inx +\fin +\con |