--- loncom/html/adm/help/tex/Script_Functions.tex 2003/06/10 19:29:26 1.1 +++ loncom/html/adm/help/tex/Script_Functions.tex 2006/07/18 15:26:41 1.5 @@ -1,8 +1,8 @@ \label{Script_Functions} -A list of functions that have been written that are available in the -Safe space scripting environment inside a problem. +This is a list of functions that have been written that are available in the +Safe space scripting environment inside a problem: \begin{itemize} \item sin(x), cos(x), tan(x) @@ -27,19 +27,21 @@ Safe space scripting environment inside \item tex({}``a'',''b'') or tex(a,b) \item var\_in\_tex(a) \item to\_string(x), to\_string(x,y) -\item class(), section() -\item name(), student\_number() +\item class(), sec() +\item name(), firstname(), lastname(), student\_number() +\item check\_status(partid) \item open\_date(), due\_date(), answer\_date() \item sub\_string() \item array\_moments(array) -\item format(x,y),prettyprint(x,y) +\item format(x,y),prettyprint(x,y,target),dollarformat(x,target) \item map(...) \item caparesponse\_check \item caparesponse\_check\_list \end{itemize} -We also support these functions from Math::Cephes \begin{verbatim} +We also support these functions from Math::Cephes +\begin{verbatim} bdtr: Binomial distribution bdtrc: Complemented binomial distribution @@ -64,5 +66,7 @@ We also support these functions from Mat stdtr: Student's t distribution stdtri: Functional inverse of Student's t distribution -\end{verbatim} Please see Math::Cephes for more information +\end{verbatim} + + Please see Math::Cephes for more information