![]() |
Including WW RTE from inside script |
Post Reply
|
Page <12 |
| Author | |
hakonf
Newbie
Joined: 18 October 2009 Status: Offline Posts: 5 Points: 6 |
Post Options
Quote Reply
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.
|
|
![]() |
|
WebWiz-Bruce
Admin Group
Web Wiz Developer Joined: 03 September 2001 Location: Poole, England Status: Offline Posts: 22683 Points: 5874 |
Post Options
Quote Reply
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.
|
|
![]() |
|
Post Reply
|
Page <12 |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |