Reference

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

Reference

Post by godrashma123 »

How do you reference all the elements in a one-dimension array?
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: Reference

Post by grsbanks »

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