Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Picasoft
APIs
Init
Sh
Commits
06041fdc
Unverified
Commit
06041fdc
authored
Jan 17, 2019
by
Rémy Huet
💻
Browse files
Elif
parent
40fd7714
Pipeline
#33608
passed with stage
in 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/tex/conditions.tex
View file @
06041fdc
...
...
@@ -80,3 +80,61 @@
{
\large
fi
}
\end{Verbatim}
\end{frame}
\begin{frame}
[fragile]
{
Si
\ldots
sinon si
\ldots
sinon
}
\begin{block}
{}
\enquote
{
Et si je veux faire encore plus compliqué ?
}
\end{block}
Il existe encore un autre moyen d'écrire des
\texttt
{
SI
}
:
\begin{Verbatim}
{
\large
SI condition
}
{
\large
ALORS
}
{
\large
actions
}
{
\large
SINON SI condition
}
{
\large
ALORS
}
{
\large
actions
}
{
\large
SINON
}
{
\large
actions
}
{
\large
FIN
_
SI
}
\end{Verbatim}
\begin{alertblock}
{}
NB: On peut mettre autant de
\enquote
{
SINON SI
\ldots
ALORS
\ldots
}
que l'on veut
\end{alertblock}
\end{frame}
\begin{frame}
[fragile]
{
En bash
}
\begin{block}
{}
En bash,
\enquote
{
SINON SI
}
s'écrit
\texttt
{
elif
}
(contraction de
\texttt
{
else
}
et
\texttt
{
if
}
) :
\end{block}
\medskip
\begin{Verbatim}
{
\large
if [ condition ]
}
{
\large
then
}
{
\large
actions
}
{
\large
elif [ condition ]
}
{
\large
then
}
{
\large
actions
}
{
\large
else
}
{
\large
actions
}
{
\large
fi
}
\end{Verbatim}
\end{frame}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment