[translation] fixes, moved scripts vs function to a box

This commit is contained in:
Jan Grewe 2016-10-14 14:41:51 +02:00
parent 012a859795
commit 9e42840f6c

View File

@ -1560,14 +1560,16 @@ legend('show')
\includegraphics[width=0.9\columnwidth]{simple_program} \includegraphics[width=0.9\columnwidth]{simple_program}
\end{minipage} \end{minipage}
\begin{minipage}{0.5\textwidth} \begin{minipage}{0.5\textwidth}
\textbf{Controlling a task} that involves calling sub-routines, as \textbf{Controlling a task.} Solving tasks that involve calling
we did above, is one of these situations (see figure). The script sub-routines, as we did above, is one of these situations (see
calls functions and takes care of passing the right arguments and figure). The script calls functions and takes care of passing the
storing the return values. During the development phase a script correct arguments and storing the return values. \linebreak
grows as one \emph{interactively} works on the command \textbf{Interactive development.} During the development phase a
script grows as one \emph{interactively} works on the command
line. Commands that have been tested are then transferred to the line. Commands that have been tested are then transferred to the
script. script.
\end{minipage}\vspace{0.25cm} \end{minipage}\vspace{0.25cm}
Interactive programming is one of the main strengths of Interactive programming is one of the main strengths of
\matlab{}. Interactive refers to the interaction between the \matlab{}. Interactive refers to the interaction between the
commands executed on the command line and the variables stored in commands executed on the command line and the variables stored in
@ -1575,7 +1577,8 @@ legend('show')
on the data stored in a variable or if the returned results are on the data stored in a variable or if the returned results are
correct speeds up the developmental progress. correct speeds up the developmental progress.
As soon as there is code duplication in a script or it grows too \textbf{Special solutions.} Program code that is only valid one very
large, it is high time to consider extracting features into separate specific problem may reside in a script. As soon as there is code
functions. duplication or it grows too large, it is high time to consider
extracting features into separate functions.
\end{ibox} \end{ibox}