Subj : Translating CASE from BAS To : Mike Luther From : mark lewis Date : Fri Feb 09 2001 09:44 am ML> But .. that doesn't help much where the comparator was X$, for ML> example and X$ is a variable length string. I was a bad boy ML> at an earlier time in life and I'm not much better now. ML> Basicly, I'm still trying to digest what I ate when I was a ML> younger programmer. Gloom. yes, if X$='fred' you can't case or switch that out... you have to break down to only one value... i don't think that adding the values together will be of much help since more than one set of adds can equal the same result... at some point, you will end up with the if/then/else structures... even if only to assign a single value to be able to case or switch with... however, doing that if/then/else tree once and then using the single value every else is much better than using if/then/else everywhere that you need to branch based on that selection... )\/ark * Origin: (1:3634/12) .