HP Forums
HP Prime Programming Tutorial #1: LOCAL, RETURN - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: HP Prime Programming Tutorial #1: LOCAL, RETURN (/thread-253805.html)



HP Prime Programming Tutorial #1: LOCAL, RETURN - Eddie W. Shore - 10-24-2013

Happy 2^10 Day!


http://edspi31415.blogspot.com/2013/10/hp-prime-programming-tutorial-1-local.html


Edited: 25 Oct 2013, 8:18 a.m. after one or more responses were posted


Re: HP Prime Programming Tutorial #1: LOCAL, RETURN - toml_12953 - 10-25-2013

Great! Thanks for the tutorial. I really like your writing style and am looking forward to the other entries.

Tom L


Re: HP Prime Programming Tutorial #1: LOCAL, RETURN - Eddie W. Shore - 10-25-2013

Quote:
Great! Thanks for the tutorial. I really like your writing style and am looking forward to the other entries.

Tom L


Thanks!


Re: HP Prime Programming Tutorial #1: LOCAL, RETURN - Han - 10-25-2013

Very cool! Thanks for sharing.


Re: HP Prime Programming Tutorial #1: LOCAL, RETURN - Miguel Toro - 10-25-2013

Hi Eddie,

Thank you for the tutorial. I am looking forward for the next installments.

Just a comment: in RPN you can also call the program as follows :

    arg_1 [space] arg_2 [space] ... arg_n [space] TEST [Enter]

or this way:

    arg_1 [Enter]
arg_2 [Enter]
...
arg_n [Enter]
TEST [Enter]

There is no need of using parenthesis nor stating the number of arguments. If the arguments are not completed, the calculator answers with a "Error: bad argument count", similar to the 50g's "Error: Too few arguments".

Regards,

Miguel


Re: HP Prime Programming Tutorial #1: LOCAL, RETURN - Eddie W. Shore - 10-26-2013

Quote:
Hi Eddie,

Thank you for the tutorial. I am looking forward for the next installments.

Just a comment: in RPN you can also call the program as follows :

    arg_1 [space] arg_2 [space] ... arg_n [space] TEST [Enter]

or this way:

    arg_1 [Enter]
arg_2 [Enter]
...
arg_n [Enter]
TEST [Enter]

There is no need of using parenthesis nor stating the number of arguments. If the arguments are not completed, the calculator answers with a "Error: bad argument count", similar to the 50g's "Error: Too few arguments".

Regards,

Miguel


Very nice! Do you mind if I mention your tip on my blog? Eddie


Re: HP Prime Programming Tutorial #1: LOCAL, RETURN - Miguel Toro - 10-26-2013

Hi,

By all means, go ahead

Regards,

Miguel