I am maintaining some legacy Visual Basic ASP code and I keep seeing <% ...code here... %> and I do not understand what this is used for. It seems to be some sort of blocking method but I cannot be sure and Google has been of no help because it is an odd search string. I realize this is a very “basic” question but any quick answer would be great.
I am maintaining some legacy Visual Basic ASP code and I keep seeing <%
Share
The
<% %>tags are not part of Visual Basic Scripting, they is part of ASP.They are called ASP Code Blocks.
Also, you’re more than likely working with VBScript which is a different language from BASIC.