Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Re: using ASP includes in SUBs


Message #1 by Colin.Montgomery@C... on Tue, 16 Apr 2002 10:39:11 +0100
thanks

-----Original Message-----
From: lingasamyk@h... [mailto:lingasamyk@h...]
Sent: 16 April 2002 08:30
To: ASP Databases
Subject: [asp_databases] Re: using ASP includes in SUBs


Hi Col,

You can use it as you mentioned, it will work fine.

Regards,
Lingasamy K


*******

This message and any attachment are confidential and may be privileged or otherwise protected from disclosure.  If you are not the
intended recipient, please telephone or email the sender and delete this message and any attachment from your system.  If you are
not the intended recipient you must not copy this message or attachment or disclose the contents to any other person.

For further information about Clifford Chance please see our website at http://www.cliffordchance.com or refer to any Clifford
Chance office.

Message #2 by lingasamyk@h... on Tue, 16 Apr 2002 07:30:09
Hi Col,

You can use it as you mentioned, it will work fine.

Regards,
Lingasamy K
Message #3 by Colin.Montgomery@C... on Mon, 15 Apr 2002 17:55:27 +0100
Hi,

I've got a huge two dimensional array to declare and populate manually
(values not from db - don't ask!).

I'd like to put the array code in an include file, but am unsure if I can do
the following:

Sub WritePracticeList
Dim i
Dim locationArray(144,2)
%>
<!--#include file="locations.asp"-->
<%
----  my code  ----
End Sub

While locations is a long list of:
<%
' Fill in the array
locationArray(0,0) = "ANY"
locationArray(0,1) = "Any"
locationArray(1,0) = "450LEX"
locationArray(1,1) = "450 Lexington Avenue"

Basically, can I put closing code tags inside a SUB so as I can include the
locations.asp file, and then open them up again without ruining the Subs
program flow?

Thanks,
Col


*******

This message and any attachment are confidential and may be privileged or otherwise protected from disclosure.  If you are not the
intended recipient, please telephone or email the sender and delete this message and any attachment from your system.  If you are
not the intended recipient you must not copy this message or attachment or disclose the contents to any other person.

For further information about Clifford Chance please see our website at http://www.cliffordchance.com or refer to any Clifford
Chance office.


  Return to Index