and that just flew right over my head
i sort of understand the whole idea about the buffer, but the only thing that i know 100% is that when i plug something into the COM port on my computer, it makes a nice connection, and energy signals go back and forth and things happen

. i want to learn more about this, but i haven't had a chance to yet.
anyways, the way i was trying to run it, it grabs a whole 2 bytes, then searches through. i seem to recall someone saying that you had less of a chance for error that way, but i'm not sure. i think i'm going to try and redesign my program though, because it doesn't work right now, and i think that the way your's is written is simpler.
thanks for the help.