HP41 SigmaREG? and SIZE? functions Message #4 Posted by Karl Schneider on 26 Sept 2007, 1:41 a.m., in response to message #1 by Catello
Quote:
"SigmaREG?" which should return the number of the statistical registers...
Thomas' answer is correct, but you misdescribed the function. "SigmaREG?" returns the identifier of the first of the six numbered registers used for statistical summation. The user can set that register using "SigmaREG". The HP42S retained both functions, perhaps for compatibility with the HP41. However, the "HP42S' little brother" HP32S designated stat registers in a better way: the six stat registers are taken from the free memory pool.
For statistical summation, earlier models use the lowestnumbered registers (last to be deallocated for programming), except that the HP15C used R2 through R7, reserving R0 and R1 for matrix indices.
There is a similar function called "SIZE?" which supplements SIZE on the HP41. SIZE? returns the number of registers allocated to data storage, which is settable by SIZE. SIZE?, however, is available on the XFunctions module as well as the HP41CX.
Here's yet another example where the HP15C trumped the HP41C/CV: The equivalent of SIZE? was available on the HP15C as "RCL DIM (i)".
 KS
Edited: 5 Oct 2007, 3:25 p.m.
