Reference

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

Reference

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

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

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

Re: Reference

Post by grsbanks » Fri May 03, 2019 9: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.
There are only 10 kinds of people in the world: those who understand binary and those who do not.

Post Reply