That code looks strangely familiar...so does that comment... Btw, it is much more efficient to search a table of strings using a loop with CPI than to hard code them like that. Hard coding is only efficient if you are looking for a single string that's less than about 5 chars. > > yeah, I needed a routine like this for one of my progs...here is an > example...