Subj : Re: Translating CASE from BAS
To   : Mike Luther
From : Charles Gaefke
Date : Mon Feb 26 2001 02:18 pm

ML> But .. that doesn't help much where the comparator was X$, for example and
ML> is a variable length string.  I was a bad boy at an earlier time in life an
ML> I'm not much better now.  Basicly, I'm still trying to digest what I ate wh
ML> was a younger programmer.  Gloom.

   Correct you are.  What I did is:

Loop

if (stricmp(string1 == "case1"))
{
 whatever;
 break;
}

if (stricmp(string1 == "case2"))
{
 whatever;
 break;
}

while (1==1);



C. Gaefke
[email protected]


... Have your dreams come true?

--- Renegade vY2Ka2
* Origin: LOTL/2 * home.earthlink.net/~cdgaefke * USA (1:129/230)