Initial revision
This commit is contained in:
17
tab_beisp_while_for.tex
Normal file
17
tab_beisp_while_for.tex
Normal file
@ -0,0 +1,17 @@
|
||||
\begin{longtable}{|X l|}
|
||||
% KILLED & LINE!!!! \kill
|
||||
\hline
|
||||
\endfirsthead
|
||||
\endhead
|
||||
\endfoot
|
||||
\hline
|
||||
\endlastfoot
|
||||
|
||||
\multicolumn{2}{|X|}{\textsl{Ausgabe der Zahlen von 1 bis 100:}} \\
|
||||
\multicolumn{2}{|X|}{\texttt{i=1}\index{!==\texttt{!=}}} \\
|
||||
\multicolumn{2}{|X|}{\texttt{while [ \$i -le 100 ]}} \\
|
||||
\multicolumn{2}{|X|}{\texttt{do}} \\
|
||||
\multicolumn{2}{|X|}{\texttt{~echo \$i}} \\
|
||||
\multicolumn{2}{|X|}{\texttt{~i=`expr \$i + 1`}\index{expr=\texttt{expr}}\index{+=\texttt{+}}\index{!==\texttt{!=}}\index{Backticks}} \\
|
||||
\multicolumn{2}{|X|}{\texttt{done}} \\
|
||||
\end{longtable}
|
Reference in New Issue
Block a user