Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FAST TEXT SEARCH for Clipper v.2.0 - <b>strtran()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   STRTRAN()

   Clipper strings are stored in memory as NULL terminated arrays of 
   characters. Ordinarily, string operations in Clipper maintain the 
   correct position of the terminating NULL character; however, in the 
   Summer '87 version of Clipper, the STRTRAN() function contained a bug 
   that caused garbage characters to be appended to the string prior to 
   the NULL character. This can cause problems in the Fast Text Search 
   library because it assumes that all strings are accurately terminated.

   If you suspect that your use of the STRTRAN() is causing a problem 
   with your use of the CFTS, use the TRIM() function on the suspect 
   string before passing it to CFTS. TRIM() will correctly reset the 
   string's terminating NULL.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson