--- loncom/html/adm/help/tex/Problem_LON-CAPA_Functions.tex 2013/10/18 03:43:14 1.27
+++ loncom/html/adm/help/tex/Problem_LON-CAPA_Functions.tex 2014/06/12 14:44:27 1.28
@@ -141,7 +141,7 @@ Option 1 - \&map(\$seed,[$\backslash$\$w
epoch (UTC), which can be used in calculations.\\
\hline
-\&submission(\$partid,\$responseid,\$version) & Returns what the student submitted for response \$responseid in part \$partid. You can get these IDs from the XML-code of the problem. \$version is optional and returns the \$version-th submission of the student that was graded.\\
+\&submission(\$partid,\$responseid,\$version) & Returns what the student submitted for response \$responseid in part \$partid. You can get these IDs from the XML-code of the problem. Use 0 as \$partid for problems without parts. \$version is optional and returns the \$version-th submission of the student that was graded. If \$version is 0 or ommitted, the latest submission is returned.\\
\hline
\¶meter\_setting(\$name,\$partid) & Returns the parameter setting \$name. Partid is optional.\\