Illegal to Include a Comment in an Output Expression in an ASP Environment

Illegal to Include a Comment in an Output Expression in an ASP Environment

You cannot include a comment in an output expression while working with server side scripts. For example, the first line that follows will work, but the second line will not, because it begins with <%=. It is advisable to separate the comments if such a need arise:
<% x= x +1 'this increments x. This script will not fail. %>
<%= arReturnValue 'this prints the variable varReturnValue. This script will fail. %>

However, if you break the second line so that comment and the output expression is separated, then there is no error.
‘This prints the variable varReturnValue. This script will not fail.
<%= varReturnValue %>

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular