Re: program result display Message #2 Posted by Han on 2 Oct 2013, 4:22 p.m., in response to message #1 by Richard Berler
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.
|