--- loncom/html/adm/help/tex/Spreadsheet_Max_Depth_Exceeded.tex 2002/07/22 21:08:18 1.1 +++ loncom/html/adm/help/tex/Spreadsheet_Max_Depth_Exceeded.tex 2002/12/11 19:04:47 1.5 @@ -1,11 +1,13 @@ -The ``Maximum Calculation Depth Exceeded'' erro can occur when you -reference other cells in calculations. For example, if you have: +\label{Spreadsheet_Max_Depth_Exceeded} +The ``Maximum Calculation Depth Exceeded''\index{Maximum Calculation +Depth Exceeded error} error can occur when you reference other cells in +calculations. For example, if you have: -\texttt{G0 = Some_complicated_expression\\ +\texttt{G0 = Some\_complicated\_expression\\ X0 = G0>2?1:0} Try replacing \texttt{X0}'s contents with \texttt{[ -(Some_complicated_expression) > 2]?1:0}. In other words, replace the +(Some\_complicated\_expression) > 2]?1:0}. In other words, replace the reference to \texttt{G0} with the actual contents of \texttt{G0}. That might fix your error by removing one level of indirection that -LON-CAPA must process in order to compute the result. \ No newline at end of file +LON-CAPA must process in order to compute the result.