program result display
Post: #1

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.

Post: #2

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.

Post: #3

Thanks for the tip. Works like a charm!



Forum Jump: