01-25-2024, 04:42 PM
(This post was last modified: 01-25-2024, 04:44 PM by Kernelpanic.)
Quote:Well, that is good, so long as I don't add more code prior to these two lines, in which case I have to keep tabs on those lines and change them each time I add or subtract prior code. Is there an ability to 'tag' something to use in place of the values? Or, maybe a different command.....At GW-Basic & Co it was common practice not to write the source code in consecutive line numbers but like this:
Code: (Select All)
5 Input xyz
10
15 Subsequent source code
20
25 If xyz > 100 GoTo 1
30 If xyz < 100 GoSub 50
35 Print "Return from subprogram"
. . .
50 Subprogram
55 Print "Run"
60 Return
Then one could add the necessary source code without having to change the jump addresses.