--- loncom/html/adm/help/tex/Calling_Functions.tex 2004/05/10 14:27:33 1.3
+++ loncom/html/adm/help/tex/Calling_Functions.tex 2011/12/02 17:42:01 1.6
@@ -5,24 +5,22 @@ you to manipulate these strings or numbe
functions: They take some number of arguments in, and return one argument,
usually a number or a string for our purposes. There are a lot of functions
available in LON-CAPA. You can see a complete list at
-\ref{all functions table}.
+\ref{Script_Functions}.
For now, let's just look at some simple examples.
%
\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