Page 1 of 1

STO - RCL Size Error

Posted: Wed Jun 24, 2020 5:41 pm
by coolepascal
I'm fairly new to the DM42 (own a DM15 as well)
Tried some example programs but they often result in 'Size Error' no clue why.

Now suddenly i seem not to be able to Store or Recal numeric locations
Like

Code: Select all

25
STO 01
or equivalent

Code: Select all

25
RCL 01
Surely I'm doing something wrong, butr i could not find what.

Re: STO - RCL Size Error

Posted: Wed Jun 24, 2020 5:57 pm
by grsbanks
On the DM42 and the HP-42S, your numerical storage registers are part of the "REGS" matrix. If you delete that matrix or if it doesn't have enough elements to store the register you want to access (e.g. in your example STO 01, the matrix should have at least 2 elements, 00 and 01) then you get this error.

Re: STO - RCL Size Error

Posted: Wed Jun 24, 2020 6:28 pm
by coolepascal
To get further i resetted the calculator which (as you might expected) solved the issue.
I do not remember deleting a matrix but i'm a real noob on the machine.
If it happens again i'll check.
Thanks.

Re: STO - RCL Size Error

Posted: Wed Jun 24, 2020 7:35 pm
by grsbanks
You maybe didn't realize that it was a matrix but at some point you must have deleted the variable called "REGS".

Instead of resetting the calculator, you can recreate the variable by doing this:

Code: Select all

25 [ENTER] 1 [SHIFT] MATRIX NEW [STO] "REGS"
That creates a new matrix with room for 25 registers, which is the default on the HP-42S. Personally I tend to allocate room for 100 registers on the DM42 because there's plenty of room for them.

Re: STO - RCL Size Error

Posted: Wed Jun 24, 2020 7:41 pm
by Thomas Okken
You can also use the SIZE function in the MODES menu; it will set the size of REGS to the desired number, and create REGS if it doesn't already exist. To set SIZE 25, type

[Shift] [+/-] [▼] [Σ+] [2] [5] [ENTER]

Re: STO - RCL Size Error

Posted: Sat Jun 27, 2020 9:21 pm
by coolepascal
Thanks !
As i said i'm fairly new to this machine and apparently have missed this detail.