In an ASP file, if the definition of the function F() is taken out from within <% %> and placed within
then the server returns with an error.
Is there some rule governing function placement?
var Seven = F();
Response.write("Seven = " + Seven);
Thanks for the reply.
YES on your statements #1 (20 years at C++ taught me that) & #2.
I stumble upon this anmomoly when I was using the syntax '... src= "..." ' as an "include" statement within <script> </script>. I have recently seen in the literature the syntax "#include" for ASP code. I'm looking into that now.
(p.s. If you were to view my profile, you might want to modify you moniker to "GrumpyNotSoOldMan"
As for your profile I could not care if you where Gates, Hickson or Crockford for that matter.
If you are willing to rephrase your request so we do not need to view your profile and be mid readers then some-one will respond appropriately. I look forward to it.