Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_ERRORLINE abilities
#2
How about line labels?

Nah, no way to connect line numbers to labels. Never liked line numbers.

Could use a trip wire variable, every time the code execution passes a certain point the trip wire variable is increased by 1. Probably not good inside loops and for main code only. Report the trip wire value and you can track down where the error occured



But why isn't exact line number in source code not helpful?
Read the Wiki, _errorline reports the exact line number in the source code that you can see from the IDE.

Also, On Error can be set for different conditions and turned off. So change that according to the message you want to make for section of code that it's covering.
b = b + ...
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: 3 Guest(s)