The concatenation file is written betwwe ASP deliminters with ASP Objects.</h4> ////////////////////////////////////////////// <% @LANGUAGE = VBSCRIPT %> <% ' This is to demonstrate how to use the Response.Write using ' CONCATENATION OPERATOR & ' Response.Write() for any string will just merge ' All lines and even letters together without html <br /> and ' spaces, or other appropriate elements If Hour (Now) < 12 Then Response.Write "Good Morning!" Elseif Hour(Now) >= 18 Then Response.Write "Good Evening!" Else Response.Write "Good Afternoon!" End if Response.Write "<p>This is the beginning of the Concatenation example for variable strings.</p>" Response.Write "<p> This is to demonstrate how to use the Response Write Method using the<br /> CONCATENATION OPERATOR &.</p>" Response.Write "<p>Response.Write() for any string will just merge <b>All</b> lines<br />" Response.Write " and even letters together without html breaks and spaces. </p>" Response.Write "<h3> I will now use the variable htmltext and write the string variable</h3>" Dim htmltext, htmltext2 htmltext = htmltext & "<p>This is written between two asp tags: <% %> <br /> " htmltext = htmltext & " Dim is used to set the variables: htmltext, and htmltext2 <br />" htmltext = htmltext & " The CONCATENATION for htmltext concludes here with <br /> a Response.Write htmltext<p>" Response.Write htmltext Response.Write "<h4>This is seeing if the two single quotes with a space inbetween works as a blank' ' blank </h4>" Response.Write "<h4>Which does not so you can use single quotes or entity reference " </h4>" Response.Write "<h4>This is seeing if the two single quotes side by side produce a single '' quote </h4>" htmltext2 = htmltext2 & "<p>A computer language tutorial site for learning " htmltext2 = htmltext2 & "on your own time can be found at <br /><a href='https://www.w3schools.com/’ target=‘ blank'>" htmltext2 = htmltext2 & "https://www.w3schools.com/</a>.</p>" Response.Write htmltext2 %>
This is the beginning of the Concatenation example for variable strings.
This is to demonstrate how to use the Response Write Method using the
CONCATENATION OPERATOR &.
Response.Write() for any string will just merge All lines
and even letters together without html breaks and spaces.
This is written between two asp tags: <% %>
Dim is used to set the variables: htmltext, and htmltext2
The CONCATENATION for htmltext concludes here with
a Response.Write htmltext
A computer language tutorial site for learning on your own time can be found at
https://www.w3schools.com/.