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


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

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

Posts: 856
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK

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