HP Prime Programming Tutorial #1: LOCAL, RETURN



#3

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


#4

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

Tom L


#5

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

Tom L


Thanks!

#6

Very cool! Thanks for sharing.

#7

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


#8

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


#9

Hi,

By all means, go ahead

Regards,

Miguel


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP Prime Tutorial #6 and #7: Drawing Eddie W. Shore 2 211 12-10-2013, 08:16 AM
Last Post: Eddie W. Shore
  Programming workaround for "prepend" HP PRIME Marek Russ 4 254 11-29-2013, 05:46 AM
Last Post: Marek Russ
  HP Prime - GETPIX_P Return? Thomas Chrapkiewicz 7 309 11-25-2013, 08:54 AM
Last Post: Thomas Chrapkiewicz
  HP Prime Tutorial #4 is up (CASE/CHOOSE/INPUT) Eddie W. Shore 1 176 11-15-2013, 07:32 AM
Last Post: Davi Ribeiro de Oliveira
  HP Prime - local variables retain their initial type BruceH 4 264 11-10-2013, 12:42 PM
Last Post: Michael de Estrada
  hp prime - programming with lists giancarlo 3 237 11-10-2013, 02:13 AM
Last Post: Giancarlo
  HP PRIME: Hide return value from program and swap Edit with Run vrrr 2 196 11-09-2013, 04:04 PM
Last Post: vrrr
  HP Prime Programming Tutorial #3: WHILE, INPUT, KILL, REPEAT, GETKEY Eddie W. Shore 5 331 11-07-2013, 12:25 AM
Last Post: Han
  HP Prime - programming bluesun08 2 189 11-04-2013, 04:31 PM
Last Post: bluesun08
  More undocumented programming limitations in the HP Prime Michael de Estrada 3 242 11-03-2013, 08:22 PM
Last Post: Michael de Estrada

Forum Jump: