ASP Syntax Error (was: RE: [thelist] CSS Question - Simple)

Jonathan Cone JCone at
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.

-----Original Message-----
From: Rob Smith [mailto:rob.smith at]
Sent: Monday, September 15, 2003 4:25 PM
To: 'thelist at'
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") &

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?


* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: 
Workers of the Web, evolt ! 

More information about the thelist mailing list