program result display



#4

I developed a lotto program. If the display times out with the program result ( my lotto pick ), is there a way to recover the result? I tried copy, but that doesn't take.


#5

You can always create a global variable and store it there. For example,

EXPORT WIN;
EXPORT LOTT()
BEGIN

... YOUR LOTTO PROGRAM HERE ...

WIN:= whatever the winning value is

END;

Now you can get the winning number by typing WIN even after the program finishes. Having no idea how you store your lotto number, a list might be most appropriate.


#6

Thanks for the tip. Works like a charm!


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP 50g - displaying result in engineering format Sean Freeman 10 499 11-24-2013, 05:44 AM
Last Post: C.Ret
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 315 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  HP 15C LE, Program Display Format Control Uli 4 289 01-20-2013, 01:22 AM
Last Post: Ethan Conner
  Can the display for a HP32Sii be replaced with the display from another model? Bruce Larrabee 8 384 10-10-2012, 10:05 PM
Last Post: Luiz C. Vieira (Brazil)
  [WP-34s] number display in program mode Alexander Oestert 19 569 04-09-2012, 03:03 AM
Last Post: Marcus von Cube, Germany
  HP 12cP25thAE Self-Test Result? Kerem Kapkin (Silicon Valley, CA) 5 179 10-04-2011, 05:37 PM
Last Post: Katie Wasserman
  Rationale for 15C L.R. result order? Mike Fikes 9 288 09-20-2011, 05:59 PM
Last Post: Crawl
  WP34S : is this result "zero" enough ? Miguel Toro 4 155 09-02-2011, 08:51 AM
Last Post: Miguel Toro
  16 segment Led display would mimic a HP-41 display? Giuseppe Marullo 3 205 11-12-2009, 08:08 PM
Last Post: db (martinez, ca.)
  PROGRAM DISPLAY QUESTIONS Mike T. 6 244 03-11-2008, 05:51 PM
Last Post: Mike T.

Forum Jump: