On Tue, Apr 1, 2008 at 4:24 PM, Christof Wollenhaupt <[EMAIL PROTECTED]> wrote: > I also wouldn't bet that VFP terminates strings with CHR(0) in all cases. > After all, the value structure contains the length in ev_length, so > technically there isn't any need to do so, especially given that VFP strings > can contain CHR(0). Hence, I'd copy the strings into a null-terminated > string before passing them on to the calc function.
Ah, hence the NullTerminate() function in the help file. Thank you, that was the answer. :-) Now I can get around to writing that blog post I've been putting off... _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

