I am new to this forum and I'm writing a celestial navigation program on a TI-84 in which I would like to save the value of each input so that the last value I have entered appears at the input prompt the next time I run the program, at which time I can either hit enter to re-use the value, or type over it.
This is the way the old Tandy PC-7 worked. The device was designed to create short programs for math in Dartmouth Basic. No matter what the program was that you were running, the PC-7 automatically retained the last entry for each variable. This feature worked well for repeated runs of the same program involving long math formulas in which one variable is being changed and all others are to remain the same.
Let's say for example that I have the short addition program:
Let's say I run the program with inputs of 3,4, and 5 for variables L, G, and D respectively. What additional code can I add to this program to make 3, 4 and 5 appear in the next run of the program so that I can simply leave them be and hit enter, or type over them?