mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-03 08:30:09 +00:00
More doc on ses+ and argument order
* doc/misc/ses.texi (Standard formula functions): Indicate that 'ses+' reverses argument order.
This commit is contained in:
parent
ba3d3c699e
commit
44676555f9
@ -195,6 +195,11 @@ remove blank cells from the returned list, which enables using
|
|||||||
(apply '+ (ses-range A2 A5 !))
|
(apply '+ (ses-range A2 A5 !))
|
||||||
@end lisp
|
@end lisp
|
||||||
|
|
||||||
|
Actually, both options are not exactly equivalent as the former makes
|
||||||
|
the summing in reversed order of argument, and the latter in the same
|
||||||
|
order. You can also reverse the order of arguments returned by
|
||||||
|
@code{ses-range} with the @code{<} modifier.
|
||||||
|
|
||||||
@c ===================================================================
|
@c ===================================================================
|
||||||
|
|
||||||
@node The Basics
|
@node The Basics
|
||||||
@ -1018,7 +1023,7 @@ instead of
|
|||||||
@end lisp
|
@end lisp
|
||||||
|
|
||||||
@item (ses+ &rest @var{args})
|
@item (ses+ &rest @var{args})
|
||||||
Sum of non-blank arguments.
|
Sum of non-blank arguments taken in reverse order.
|
||||||
|
|
||||||
@item (ses-average @var{list})
|
@item (ses-average @var{list})
|
||||||
Average of non-blank elements in @var{list}. Here the list is passed
|
Average of non-blank elements in @var{list}. Here the list is passed
|
||||||
|
Loading…
Reference in New Issue
Block a user