New Firmware for HP Prime and HP15c CE. Also Firmware preinstalled on HP15c CE

Published on 11/02/2015 11:09 PM by JGD

HP Prime settings storing and retrieving

Sometimes a calculator has two users (typically a couple of brothers - not everyone can afford having two 150 € calculators in the same household for high school children), or there are times where you want to use some user settings, and in other case you want different settings. A question comes: how can settings can be stored or changed?

Settings are stored in different system variables, but not located in a single multi-variable set (list, matrix or string). The solution would imply putting all system variables in one of the above sets, and keep it there for further retrieval.

I have seen such program in hpmuseum.org, written by user Tyann. Here are the two programs required: one to store the current setting - the other to retrieve it later.

EXPORT STOF()

BEGIN

HVars(“Mode”):={HAngle,HFormat,HSeparator,HDigits,HComplex,Entry,Base,Bits,Signed};

END;

//HVars is a list of HOME user defined variables. Handle, Format, etc. are the system settings in Home

EXPORT RCLF()

BEGIN

LOCAL l;

l:=HVars(“Mode”);

Mangle:=l(1);HFormat:=l(2);

HSeparator:=l(3);HDigits:=l(4);

HComplex:=l(5);Entry:=l(6);

Base:=l(7);Bits:=l(8);Signed:=l(9);

END;