You need to look through both files and find out what's being dimmed twice and make 
sure they're only dimmed once at the top of the file which gets included first. 
 
Also just have a scan through to check that you're not setting the value of a variable 
in the first file to a value which the second file is not expecting, if you see what I 
mean. Take this pseudo-code example
 
File1.inc
======
 
Dim myVar
myVar = 5
 
 
File2.inc
======
 
'Dim myVar - commented out as it's in file1.inc
myVar = myVar + 5
 
 
So if you included file2.inc on it's own, keeping the dim statement, myVar would have 
a value of 5 at the end of it. However including file1.inc first and removing the dim 
statement from file2.inc will leave myVar having a value of 10 at the end as file1.inc 
sets it to 5 in the first place.
 
Does that make sense?
 
Dan
www.diado.com
 

-----Original Message-----
From: Valter [mailto:[EMAIL PROTECTED]
Sent: 03 September 2004 12:03
To: [EMAIL PROTECTED]
Subject: [AspClassicAnyQuestionIsOk] Re: problem with file include


thanks for you fast reply,
so, are you suggesting me to cut from the second .inc file all the 
Dim stuff?
Thank you

Valter



Yahoo! Groups Sponsor   

 
<http://us.ard.yahoo.com/SIG=129nbnl5g/M=296572.5305651.6444487.3001176/D=groups/S=1705006764:HM/EXP=1094295861/A=2195326/R=2/SIG=12ig22glc/*http://clk.atdmt.com/VON/go/yhxxxvon00700677von/direct/01/&time=1094209461240218>
 
  
<http://us.adserver.yahoo.com/l?M=296572.5305651.6444487.3001176/D=groups/S=:HM/A=2195326/rand=792175159>
     


  _____  

Yahoo! Groups Links


*       To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
  

*       To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
  

*       Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
<http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to