Results 1 to 6 of 6

Thread: one more little question can I get line #s for errors

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    15
    is there a relatively easy way to get line numbers of the errors encountered like C++ does rather than sifting through 47 pages of code?

  2. #2
    Fanatic Member HaxSoft's Avatar
    Join Date
    May 2000
    Location
    Ohio
    Posts
    593

    Unhappy

    If you use line numbers, then you can use the Erl to find the line.

    Code:
    Private Sub Command1_Click()
    
      On Error GoTo error_handler
      
      Dim a As String
    10: a = a * 100
      
      Exit Sub
      
    error_handler:
    
      MsgBox Erl
    
    End Sub
    Is that what you were looking for?

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    15
    I don't think I'll be able to type in line numbers for the whole app though...

    or do I have to? last time I typed line numbers in a program was Basic, before quick basic. evil basic.. Grrrr!!

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    BBC BASIC was the greatest there was (it even had an equivalent of pointers )
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    15

    Cool

    you don't like edlin too do you???

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Not particularly.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width