Print Page | Close Window

Variable Constant

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=8101
Printed Date: 01 April 2026 at 1:14am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Variable Constant
Posted By: eagle00789
Subject: Variable Constant
Date Posted: 15 December 2003 at 6:53am

How can i assign a variable to a constant. the variable i am trying to assign to the constant is a field from a database.

Greetings Chris



-------------
Using forum at http://www.gravenrode.nl/forum/forum - Gravenrode and http://www.gravenrode.nl/forum/test_forum - here and http://217.121.39.22/forum/test_forum - here



Replies:
Posted By: cybermaster
Date Posted: 15 December 2003 at 7:34am
whay woud you do that?

-------------
http://www.toxiclab.org - Toxiclab.org -webmasters community


Posted By: aalavar
Date Posted: 15 December 2003 at 8:03am
I tested something similar, I don't think it is possible.  When you assign a value to a constant, it has to be a literal, it can't be a variable.


Posted By: eagle00789
Date Posted: 15 December 2003 at 8:14am
i already solved it by changing the constants to normal variable

-------------
Using forum at http://www.gravenrode.nl/forum/forum - Gravenrode and http://www.gravenrode.nl/forum/test_forum - here and http://217.121.39.22/forum/test_forum - here



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net