I am learning asp . In php we use
die('error message')
what is its equivalent code in asp (vb script )? How to debug in asp?
In Classic ASP, Use this:
Response.End
To output something before ending, use this code:
Response.Write "Hello, World!"
Response.End
This is equivalent to:
die("Hello, World!");
I don't remeber very much about asp.net but you can use
return your variable here
or
Response.End
The second one will output everythings
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With