So, you're dimming the variable in your include and also in your regular code, or you're including the file multiple times?
Without knowing exactly how you're doing it, I would create a function in your include that has the variable defined within it so it only has local scope. There's shouldn't be any (or at least much) free code in your include that just gets executed. It should all be called at some point by the main file. Chris Tifer http://www.emailajoke.com ----- Original Message ----- From: "Johnny Martinez" <[EMAIL PROTECTED]> To: "ActiveServerPages" <[EMAIL PROTECTED]> Sent: Friday, October 04, 2002 2:03 PM Subject: Releasing variables > > > Hi all, > I am #include'ing a script that spins through a table and builds a <SELECT> > drop down for the states...CA, VA, TX etc. > > My problem is when I use the script more than once I get > > "Dim variable redefined" > > Is it possible to release a Dim variable at the end of the script to beat > this problem? > > Johnny > > > --- > You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] > To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
