Y-asc

yet another stupid compiler
Log | Files | Refs | README | git clone https://git.ne02ptzero.me/git/Y-asc

commit be1239d996a9549cffc37bc0ea2824b1ec5d3e95
parent d610dbbbd75f117017af259b52f7659da75b6059
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Thu, 29 Jun 2017 18:31:22 +0200

Add(Tex): Add section about while

Diffstat:
Mtex/yasc.tex | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/tex/yasc.tex b/tex/yasc.tex @@ -537,6 +537,15 @@ Operators & Associativity\\ can be ommited, or it may be used for error checking to catch an 'impossible' condition. \subsection{Loops - While} + In + \begin{lstlisting} + while (expression) + statement; + \end{lstlisting} + the \texttt{expression} is evaluated. It it is non-zero, \texttt{statement} + is executed and \texttt{expression} is re-evaluated. This cyccle continutes + until \texttt{expression} becomes zero, at which point execution + resumes after \texttt{statement}. \subsection{Loops - For} \subsection{Loops - Do-While} \subsection{Break and Continue}