--- loncom/html/adm/help/tex/Script_Functions.tex 2003/06/10 19:29:26 1.1
+++ loncom/html/adm/help/tex/Script_Functions.tex 2013/09/15 22:42:05 1.15
@@ -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)
@@ -17,7 +17,8 @@ Safe space scripting environment inside
\item N\%M (modulo function)
\item sinh(x), cosh(x), tanh(x)
\item asinh(x), acosh(x), atanh(x)
-\item roundto(x,n)
+\item roundto(x,n)
+\item cas(s,e,l)
\item web({}``a'',''b'',''c'') or web(a,b,c)
\item html({}``a'') or html(a)
\item j0(x), j1(x), jn(n,x), jv(y,x)
@@ -27,19 +28,29 @@ 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 open\_date(), due\_date(), answer\_date()
+\item class(), sec(), classid()
+\item name(), firstname(), middlename(), lastname(), student\_number()
+\item check\_status(partid)
+\item open\_date(partid), due\_date(partid), answer\_date(partid)
+\item open\_date\_epoch(partid), due\_date\_epoch(partid), answer\_date\_epoch(partid)
+\item submission(partid,responseid,version)
+\item currentpart()
\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 languages
\item map(...)
\item caparesponse\_check
\item caparesponse\_check\_list
+\item parameter\_setting(name,partid)
+\item EXT()
+\item stored\_data(name,partid)
+\item wrong\_bubbles(correct,lower,upper,step,@given)
\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 +75,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