Web Wiz
Home
Home
Hosting Services
Hosting Services
Knowledgebase
Knowledgebase
Community
Community
Customer Login
Customer Login

Web Wiz Forums Homepage

  New Posts New Posts RSS Feed - Including WW RTE from inside script
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Including WW RTE from inside script

 Post Reply Post Reply Page  <12
Author
hakonf View Drop Down
Newbie
Newbie


Joined: 18 October 2009
Status: Offline
Posts: 5
Points: 6
Post Options Post Options   Quote hakonf Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2009 at 3:42pm
Shorthands appreciated; I may be confusing the issue. The position where I want to #include is in the middle of a Subroutine which is defined in a file, let us call the file i.asp. Th file i.asp has a structure like this:
 
<script runat=Server>
Sub xxx
...
</script>
<-- #include file=... -->
<script>
...
End Sub
Sub xyz
...
End Sub
</script>
 
If I insert the two tags in red, I cannot create the necessary connection between the upper and lower parts of the code, except perhaps by splitting the Sub in two and arranging for some sort of transfer of parameters between them.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Poole, England
Status: Offline
Posts: 23178
Points: 6378
Post Options Post Options   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2009 at 3:54pm
All I can say is to try rewriting your code not to use the sub and use some other method instead.
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down


© Copyright 2001-2010 Web Wiz®. All rights reserved.
All prices are shown excluding VAT, which is charged where applicable. $, € prices shown as a guideline only.