Log in

View Full Version : new line in VBScript



gugu
04-26-2006, 09:01 AM
How can I continue to the next line?

<%=cmdContent+"<Table><tr><td>sdasdad</td></tr></Table>"%>

Twey
04-26-2006, 03:24 PM
If it's anything like the BASIC/VB6 I remember, leaving a trailing underscore (_) on the end of the line should enable you to carry on to the next line. You may have to abandon the short tag, though.
<%=cmdContent+"<table><tr><td>" _
+ "sdasdad</td></tr></table>"%>or:
<% Response.write(cmdContent+"<table><tr><td>" _
+ "sdasdad</td></tr></table>") %>(or something similar, I know no VBScript at all and only a little VB, rusty from long disuse).

ddadmin
04-27-2006, 04:16 AM
Please post in the correct forum category next time. Both your VBscript threads were incorrectly posted in the DD Scripts Help category, when it should belong in the "Other" category instead.