--- loncom/html/adm/help/tex/Function_Plot_Response_Custom_Rule.tex 2011/12/02 15:09:46 1.1
+++ loncom/html/adm/help/tex/Function_Plot_Response_Custom_Rule.tex 2016/08/20 17:48:11 1.2
@@ -4,21 +4,21 @@ Used to create rules that aren't options
Available evaluation functions:
\begin{enumerate}
-\item \&fpr\_val(``label")
+\item \&fpr\_val(``label'')
\item \&fpr\_f(\$x)
\item \&fpr\_dfdx(\$x)
\item\&fpr\_d2fdx2(\$x)
-\item (\$xs,\$xe,\$ys,\$ye)=\&fpr\_vectorcoords(``Name")
-\item (\$x,\$y)=\&fpr\_objectcoords(``Name")
-\item \&fpr\_vectorlength(``Name")
-\item \&fpr\_vectorangle(``Name")
+\item (\$xs,\$xe,\$ys,\$ye)=\&fpr\_vectorcoords(``Name'')
+\item (\$x,\$y)=\&fpr\_objectcoords(``Name'')
+\item \&fpr\_vectorlength(``Name'')
+\item \&fpr\_vectorangle(``Name'')
\end{enumerate}
Returning 1 is correct, while returning 0 is incorrect.
Example comparing the lengths of two vectors:
\begin{verbatim}
-if (&fpr_vectorlength(``Normal") < &fpr_vectorlength(``Gravity"))
+if (&fpr_vectorlength("Normal") < &fpr_vectorlength("Gravity"))
{return 1;}
else
{return 0;}