The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

HP Prime Programming Tutorial #1: LOCAL, RETURN
Message #1 Posted by Eddie W. Shore on 24 Oct 2013, 10:21 p.m.

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
Message #2 Posted by toml_12953 on 25 Oct 2013, 7:54 a.m.,
in response to message #1 by Eddie W. Shore

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
Message #3 Posted by Eddie W. Shore on 25 Oct 2013, 9:27 a.m.,
in response to message #2 by toml_12953

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
Message #4 Posted by Han on 25 Oct 2013, 10:23 a.m.,
in response to message #1 by Eddie W. Shore

Very cool! Thanks for sharing.

      
Re: HP Prime Programming Tutorial #1: LOCAL, RETURN
Message #5 Posted by Miguel Toro on 25 Oct 2013, 10:40 a.m.,
in response to message #1 by Eddie W. Shore

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
Message #6 Posted by Eddie W. Shore on 26 Oct 2013, 2:07 p.m.,
in response to message #5 by Miguel Toro

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
Message #7 Posted by Miguel Toro on 26 Oct 2013, 8:42 p.m.,
in response to message #6 by Eddie W. Shore

Hi,

By all means, go ahead

Regards,

Miguel


[ Return to Index | Top of Index ]

Go back to the main exhibit hall