Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_ERRORLINE abilities
#8
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.
Reply


Messages In This Thread
_ERRORLINE abilities - by MichelleL - 01-24-2024, 11:55 PM
RE: _ERRORLINE abilities - by bplus - 01-25-2024, 12:16 AM
RE: _ERRORLINE abilities - by Kernelpanic - 01-25-2024, 12:21 AM
RE: _ERRORLINE abilities - by SMcNeill - 01-25-2024, 02:34 AM
RE: _ERRORLINE abilities - by MichelleL - 01-25-2024, 03:01 AM
RE: _ERRORLINE abilities - by SMcNeill - 01-25-2024, 03:43 AM
RE: _ERRORLINE abilities - by mdijkens - 01-25-2024, 02:36 PM
RE: _ERRORLINE abilities - by Kernelpanic - 01-25-2024, 04:42 PM



Users browsing this thread: 1 Guest(s)