|
-
Jun 2nd, 2003, 11:11 PM
#1
Thread Starter
PowerPoster
ReDeclare Constants
Hey All,
How can i re-declare a constant without getting the name redefined error?
Please any help would be great.
b
-
Jun 2nd, 2003, 11:27 PM
#2
Member
Hmmm... if "re-declaring" a constant was allowed, it wouldn't be a constant would it... it would be a variable!
-
Jun 2nd, 2003, 11:43 PM
#3
Thread Starter
PowerPoster
Yeah sorry it's now something to do with the includes:
VB Code:
<%
SELECT CASE Request.QueryString("skinfile")
CASE ""
%>
<!-- #INCLUDE FILE="skin_file.asp" -->
<%
CASE "aqua"
%>
<!-- #INCLUDE FILE="skin_file_aqua.asp" -->
<%
END SELECT
%>
Now you cant do that can you?
Some people say you can but you cant.
So how do you use dynamic includes?
b
-
Jun 3rd, 2003, 12:53 AM
#4
Hyperactive Member
Last edited by sinha; Jun 3rd, 2003 at 12:58 AM.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|