stop execution?

Results 1 to 3 of 3

Thread: stop execution?

  1. #1
    Volker Guest

    Default stop execution?

    I would like to stop the execution of an asp script, just after one if-statement, like:<BR><BR>if (myCond) then<BR>&nbsp;&nbsp;&nbsp;stopHere<BR>...following code...<BR><BR>so, the following code shouldnt be executed. What I have currently, are a lot of nested if-statements with a lot of <BR>"end if"&#039s in the end of the script. Thats why I&#039m wondering, if there is something like just to stop the entire followed script.<BR>Thanks in advance!<BR><BR>volker

  2. #2
    Join Date
    Dec 1969
    Posts
    2,493

    Default RE: stop execution?

    Try Response.end

  3. #3
    Volker Guest

    Default RE: stop execution?

    well, sometimes the easiest solution seems so far away, thanks a lot!!! I just forgot about that option :)

Posting Permissions

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