Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Very Stumped


Message #1 by "Jonathan Gravois" <wynnewade@t...> on Sat, 22 Sep 2001 18:27:15 -0500
In an include file, I define functions like this: "

<%

function Out ( sHTML )

{

	Response.Write ( sHTML );

}



function Init ( sTitle )

{

 <<<<< CODE CLIPPED



OK, here's a clip of the calling document:



<!--#include virtual="EAYS/include/Start.asp"-->

<%

Init('Welcome to Career Planner')

Out ("Test")

%>



THE STUMPING PART!

sHTML is not further "defined" than above and it works fine BUT IE returns

an error that sTitle is "not defined"



I thought that a parameter was automatically defined as in sHTML



Can anyone give me an idea if what is wrong?



Jon




  Return to Index