SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => SlickEdit User Macros => Topic started by: chris.aiken on December 18, 2014, 12:49:22 pm

Title: Totaling up a column of numbers
Post by: chris.aiken on December 18, 2014, 12:49:22 pm
I'd like to be able to highlight a column and total the numbers within it.
Any suggestions would be appreciated.
Title: Re: Totaling up a column of numbers
Post by: Lee on December 18, 2014, 02:05:06 pm
Using the SlickEdit command-line (brought up using ESC in most emulations) use the "add" command.   It will sum up the numbers in the selection.  It can even handle operators, selecting 100 * 100 will print the multiplied result.