error handling and solution

Results 1 to 2 of 2

Thread: error handling and solution

  1. #1
    Join Date
    Dec 1969

    Default error handling and solution

    i'm a student and i need some help in doing my assignment. currently my problem is that i need to code on error handling. i'm doing it in a web based form. when the user enter a programming code such as c++ into the compiler, the compiler then process and return the result. if the code contains error, the program could show the solution and guide the user step-by step solution. if the program is error free, then it could be compiled straight away and return the result in the website in the asp or language. i don't know how to do the coding and i really need help

  2. #2
    Join Date
    Dec 1969

    Default RE: error handling and solution

    are you writing this in C++ or in asp? if asp<BR><BR>on error resume next<BR><BR>&#039;then you could put something like this in <BR> if err&#060;&#062;0 then<BR> Response.Write(err.number & " " & err.description)<BR> else<BR> Response.Write("code is correct")<BR> end if<BR> on error goto 0<BR>

Posting Permissions

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