CMP

Simple assembler and S*Basic tools to compare strings

 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *  StrCmp: Alphabetical string comparison routines using user-defined tables  *
 *             String Comparison subroutine using tabled byte order            *
 *                                                                             *
 * © PWITTE February 10th 1995                                                 *
 *                                                                             *
 * V0.02 November 12th 2006 - simplified and packaged for release              *
 *                                                                             *
 * All code is my own work except as and where stated                          *
 *                                                                             *
 *               Compatible with QDOS, Minerva and SMSQ/E                      *
 *                                                                             *
 * usage:                                                                      *
 *                                                                             *
 * result% = CMP%(str1$, str2$): REMark -1 => less, 0 => equal, 1 => greater   *
 *                                                                             *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 

Useful for Minerva, which has its own ideas on string comparison!

PD by pjwitte 1gg5 - 2oo6