ASP Syntax Error (was: RE: [thelist] CSS Question - Simple)
Jonathan Cone
JCone at municode.com
Mon Sep 15 16:58:43 CDT 2003
strings = "<h1>"
If doohickey = 1 then
strings = strings & "Hello"
End If
strings = strings & "</h1>"
You're trying to concatenate something that's not exactly a string.
hth
-Jonathan
-----Original Message-----
From: Rob Smith [mailto:rob.smith at THERMON.com]
Sent: Monday, September 15, 2003 4:25 PM
To: 'thelist at lists.evolt.org'
Subject: ASP Syntax Error (was: RE: [thelist] CSS Question - Simple)
Thanks for helping understand that CSS comma thing; it makes sense now.
Take a look at this:
<%
Dim strings, doohickey
doohickey = 1
strings = "<h1>" & if doohickey = 1 then response.write("Hello") &
"</h1>"
response.Write(strings)
%>
I need this to work...
However, there's a syntax error:
Syntax Error: Line 3
strings = "<h1>" & if doohickey ...
-------------------^
I thought you could do this in ASP? What would be the alternative?
Rob
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list