version 1.3, 2006/08/08 17:47:27
|
version 1.4, 2010/08/23 16:16:18
|
Line 4
|
Line 4
|
|
|
To take the sum of column ``M'', for example, use \texttt{\&SUM(``M*'')}\index{SUM} |
To take the sum of column ``M'', for example, use \texttt{\&SUM(``M*'')}\index{SUM} |
|
|
|
\noindent |
\textbf{Spreadsheet Lists} |
\textbf{Spreadsheet Lists} |
|
|
When you have a list of numbers in a cell, how it is displayed depends |
When you have a list of numbers in a cell, how it is displayed depends |
on how you separate the numbers and how Perl interprets the results. |
on how you separate the numbers and how Perl interprets the results. |
|
|
\textbf{35 45 12} will not generate any result because this is an |
\texttt{35 45 12} will not generate any result because this is an |
invalid Perl statement. |
invalid Perl statement. |
|
|
\textbf{35,45,12} will have a result of 12 because Perl has a comma |
\texttt{35,45,12} will have a result of 12 because Perl has a comma |
operator similar to the comma operator\index{comma operator} in C. |
operator similar to the comma operator\index{comma operator} in C. |
|
|
The comma operator is binary and returns the value on its right. Thus |
The comma operator is binary and returns the value on its right. Thus |