HP Forums
Prime variable assignation in ppl - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Prime variable assignation in ppl (/thread-289.html)



Prime variable assignation in ppl - Robin Karpeta - 12-31-2013 10:35 AM

HI, I apologise if this is a really silly question, but in the Rollmany example program in the user guide (page 454) there appears to be assignment carried out by a triangle symbol (pointing to the right).

I have not been able to enter this into the Prime. Does anyone know how to do this?
The line below is one of the Rollmany program lines in question:

L2(roll)+1L2(roll);

Many thanks for any help.


RE: Prime variable assignation in ppl - Thomas_Sch - 12-31-2013 10:56 AM

maybe the Store Key ? (blue shift EEX)

(don't have a Prime yet)


RE: Prime variable assignation in ppl - Robin Karpeta - 12-31-2013 11:36 AM

Yes. It is the Sto Key (which does have the little triangle on the key itself).

Being a long time HP RPN/RPL user I'm finding the mindset switch difficult.

Many thanks!!


RE: Prime variable assignation in ppl - patrice - 12-31-2013 04:41 PM

You can also rewrite as

L2(roll):=L2(roll)+1;


RE: Prime variable assignation in ppl - Robin Karpeta - 12-31-2013 06:21 PM

Thanks Patrice. I was going to try that if unable to find the way to enter the triangle.
Appreciate the help.