[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Calling_Functions.tex
raeburn
raeburn@source.lon-capa.org
Sun, 16 Jan 2011 22:10:52 -0000
raeburn Sun Jan 16 22:10:52 2011 EDT
Modified files:
/loncom/html/adm/help/tex Calling_Functions.tex
Log:
- Bug 6412.
- Eliminate lyxcode references.
- Eliminate ref to Functions Figure, which was rendering as a blue question
mark icon pointing at a non-existent file.
Index: loncom/html/adm/help/tex/Calling_Functions.tex
diff -u loncom/html/adm/help/tex/Calling_Functions.tex:1.4 loncom/html/adm/help/tex/Calling_Functions.tex:1.5
--- loncom/html/adm/help/tex/Calling_Functions.tex:1.4 Thu Mar 24 16:22:36 2005
+++ loncom/html/adm/help/tex/Calling_Functions.tex Sun Jan 16 22:10:52 2011
@@ -11,18 +11,16 @@
%
\begin{figure}
-\begin{lyxcode}
\$a~=~-3.0;
\$b~=~\&sin(\$a);
\$c~=~\&pow(3.0,~\&abs(\$a));
-\end{lyxcode}
\caption{Some Function Calls\label{Some Function Calls Figure}}
\end{figure}
In the \textbf{Script} block, function names start with \textbf{\&}. Some
-example function calls are shown in figure \ref{Some Function Calls Figure}.
+example function calls are shown above.
You can see that functions can take either variables, numbers, or the results
of other function calls as parameters. The \texttt{\&sin} function returns
the sine of an angle expressed in radians. \texttt{\&pow} raises the first