--- loncom/html/adm/help/tex/all_functions_table.tex 2008/06/12 00:47:10 1.11 +++ loncom/html/adm/help/tex/all_functions_table.tex 2011/11/21 16:19:46 1.13 @@ -49,8 +49,8 @@ Option 4 - @all = \&languages($\backslas \hline roundto(x,n) &\&roundto(\$x,\$n) &Rounds a real number to n decimal points. \$x and \$n can be pure numbers &  \\ \hline -&\&cas(\$s,\$e)&Evaluates the expression \$e inside the symbolic algebra system \$s. Currently, only the Maxima -symbolic math system is implemented. Example: \&cas('maxima','6*7')&\\ +&\&cas(\$s,\$e,\$l)&Evaluates the expression \$e inside the symbolic algebra system \$s. Currently, only the Maxima +symbolic math system is implemented. \$l is an optional comma-separated list of libraries. Example: \&cas('maxima','6*7')&\\ \hline Not in CAPA&\&implicit\_multiplication(\$f)&Adds mathematical multiplication operators to the formula expression \$f where only implicit multiplication is used. Example: \&implicit\_multiplication('2(b+3c)') returns 2*(b+3*c)&\\ \hline @@ -96,7 +96,7 @@ var\_in\_tex(a) &\&var\_in\_tex(\$a) &Eq \hline to\_string(x), to\_string(x,y) &\&to\_string(\$x), \&to\_string(\$x,\$y) &If x is an integer, returns a string. If x is real than the output is a string with format given by y. For example, if x = 12.3456, \&to\_string(x,''.3F'') = 12.345 and \&to\_string(x,''.3E'') = 1.234E+01. &  \\ \hline -capa\_id(), class(), section(), set(), problem() &\&class(), \§ion() &Returns null string, class descriptive name, section number, set number and null string. &capa\_id(), set() and problem() are no longer used. Currently, they return a null value. \\ +capa\_id(), class(), section(), set(), problem() &\&class(), \&sec() &Returns null string, class descriptive name, section number, set number and null string. &capa\_id(), set() and problem() are no longer used. Currently, they return a null value. \\ \hline name(), student\_number() &\&name(), \&student\_number() &Return the full name in the following format: lastname, firstname initial. Student\_number returns the student 9-alphanumeric string. If undefined, the functions return null. &  \\ \hline