Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_ERRORLINE abilities
#1
I'm kind of not even sure how to phrase this question. _ERRORLINE will display the line where and error is found. But say I wanted to use the command to display something different depending on where the error is found. As in bounding the error to within a section of code, as in:

If _ErrorLine > 100and _ErrorLine < 150 Print "This section of code"
If _ErrorLine > 200and _ErrorLine < 250 Print "This other section of code"

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.....
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: 5 Guest(s)