Reference

General discussion about calculators, Swiss Micros or otherwise
Post Reply
godrashma123
Posts: 1
Joined: Thu May 02, 2019 12:09 pm
Contact:

Reference

Post by godrashma123 » Fri May 03, 2019 4:44 am

How do you reference all the elements in a one-dimension array?

grsbanks
Posts: 857
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK
Contact:

Re: Reference

Post by grsbanks » Fri May 03, 2019 7:14 am

STOIJ, RCLEL, STOEL, I+, I-, J+ and J- are your friends.

You can read about them in the HP-42S manual (easily found on the internet).

Alternatively you can make a copy of the REGS variable, store your array as REGS and use the standard STO nn and co. functions. This is probably also a good usage of the new "local variables" feature of Free42 soon coming to the DM42.
Not SwissMicros staff, just an enthusiast.

Post Reply