Subj : Translating CASE from BAS To : Herbert Bushong From : Mike Luther Date : Thu Feb 08 2001 03:04 pm Thanks friend Herbert .. HB> Mike, HB> Yes, it's difficult. But look at it from a different HB> angle: All char's have a numeric equivalent, and you HB> don't have to use that numeric equivalent to check HB> for chars in a switch: HB> char num[2]; HB> // get a number/char whatever in num[] HB> switch (*num) HB> { HB> case '0': HB> . HB> case '9': HB> case 'a': HB> case 'A': HB> case 'b': HB> case 'B': HB> . HB> . HB> default: HB> }; Correct ... HB> I've been discussing Sarah's problem with her via e- HB> mail, and the solution was similar to the above. On hand. Studying it. But .. that doesn't help much where the comparator was X$, for example and X$ is a variable length string. I was a bad boy at an earlier time in life and I'm not much better now. Basicly, I'm still trying to digest what I ate when I was a younger programmer. Gloom. Mike @ 117/3001 --- Maximus/2 3.01 * Origin: Ziplog Public Port (1:117/3001) .