When this function is called LOCAL FN Header(hdl&, which%, type$, loc$, list&, expires$) like this: call FN InsertHeader(aHdl&, this%, "text/html", "here", aList&, ""), the three string variables contain garbage immediately upon entry. Anyone have an idea how that could happen? Is it possible for some type of action external to FN Header to corrupt the contents of type$ _before_ the function in called? I'm using FB^3 Release 2. --Steve _____________________________ Steven J. Stratford, InterNetyx.com Supercharge your website! www.internetyx.com 920-206-9197 _____________________________