Philip Mak wrote:
>
> I remember being told that any subroutines I define should be defined in
> global.asa rather than in an .asp script, to avoid having the subroutines
> being redefined all the time.
>
> What if I am writing a subroutine that has to output a bunch of HTML
> code... is it possible to use the <% %> syntax there somehow?
>
No, but this seems like it might be a good thing to support.
Until then, you might have the code in some include, like
subs.inc, and include that in your Script_OnStart so the
subs are always loaded. Generally whenever I decomp
some XMLSubs that has significant HTML, I just have it
call an include anyway, but I see why you'd want the <% %>
syntax in global.asa
--Josh
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]