The definition of a constant (See CONSTANT DECLERATION STATEMENT under the HELP menu in FB^3 is a ³static integer expression². I do not believe _nil$ is a valid constant ...consequently, I'm not sure how the compiler handles it. There are times when passing an invalid argument (i.e. _nil) produces unexplainable results and not necessarily an error message. I think that's the case here. Best Joe > From: "H. Gluender" <h@...> > Reply-To: futurebasic@... > Date: Mon, 15 Mar 2004 11:10:36 +0100 > To: FB Mailing List <futurebasic@...> > Subject: Re: [FB] empty Pascal string > > J Smith wrote: > > "Doesn't your function require the passing of a string. 0 in not a > string...so why should it work ???" > > ***************************************************************** > > This wasn't the point... > > The astounding thing is that the following constants work: > > FN MyFunction( _nil ) > FN MyFunction( _nil$ ) > > > Best > -- > > > Herbie > > ------------------------ > > <http://www.gluender.de> > > -- >