Both JavaScript and VBScript that are used in ASP code are not strongly typed. This means that you can treat an integer type like a string without having to do a specific conversion. For example, when I'm debugging an ASP page and I want to determine where an error is, I'll frequently put alerts in a number of places in the code so that I can track how far it gets before the error occurs. These statement look like this:
alert(1);
...
alert(2);
etc.
You'll notice that I don't convert the numbers to strings, it's automatically done for me.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.