Annotation of loncom/html/adm/help/tex/Spreadsheet_Lists.tex, revision 1.2

1.1       bowersj2    1: \label{Spreadsheet_Lists}
                      2: When you have a list of numbers in a cell, how it is displayed depends
1.2     ! albertel    3: on how you separate the numbers and how Perl interprets the results.
1.1       bowersj2    4: 
                      5: \textbf{35 45 12} will not generate any result because this is an
                      6: invalid perl statement.
                      7: 
                      8: \textbf{35,45,12} will have a result of 12 because Perl has a comma
                      9: operator similar to the comma operator\index{comma operator} in C.
                     10: 
                     11: The comma operator is binary and returns the value on its right. Thus
                     12: \texttt{\$variable = 15, 26;} assigns \texttt{\$variable} the value
                     13: 26.  If you need the values to all be displayed, enclose the entire
1.2     ! albertel   14: cell contents in quotes.  

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>