qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
TEXTCOMP Function
  Summary             Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
                 ISAM available in Professional Edition only
──────────────────────────────────────────────────────────────────────────────
 Compares two strings and returns an integer value indicating their relative
 positions as they would be sorted by an ISAM index. Requires PROISAM.EXE or
 PROISAMD.EXE in the programming environment (VBDOS.EXE).
 
    TEXTCOMP(a$, b$)
 
    ■ a$, b$         Two valid strings; only the first 255 characters are
                     considered; the comparison is not case sensitive ("A" is
                     the same as "a"), and any trailing spaces are removed:
 
                     Return Value     Description
                     ════════════     ══════════════════════════════════════
                     -1               a$ precedes b$
                     1                a$ follows b$
                     0                a$ is equivalent to b$
 
 See Also
    ISAM Database Development        PROISAM Command-Line Options
    PROISAMD Command-Line Options