| ??? 02/06/09 11:49 Modified: 02/06/09 11:54 Read: times |
#162134 - Could this be it? Responding to: ???'s previous message |
I just had a thought: does the string matching go something like this:
With EndString = "rnOKrn" 1: Received CR => match for EndString[0], try EndString[1] next; 2: Received LF => match for EndString[1], try EndString[2] next; 3: Received CR => doesn't match EndString[2], try EndString[0] next; 4: Received LF => doesn't match EndString[0], keep looking for a match for EndString[0] Which looks like a bug to me! At step 3, I think it should re-check for a match with EndString[0]. Update I just edited that, as the forum was losing the backslashes... |
| Topic | Author | Date |
| OT: one for any AsyncPro experts... | 01/01/70 00:00 | |
| Could this be it? | 01/01/70 00:00 | |
| Looks like it | 01/01/70 00:00 | |
| Do you know? | 01/01/70 00:00 | |
| Just high probability | 01/01/70 00:00 | |
| I use that | 01/01/70 00:00 | |
| but... | 01/01/70 00:00 | |
| Message ending | 01/01/70 00:00 | |
| I think these are just workarounds | 01/01/70 00:00 | |
| I recommend Boyer-Moore | 01/01/70 00:00 | |
| Async | 01/01/70 00:00 | |
| Delphi | 01/01/70 00:00 | |
| Open source | 01/01/70 00:00 | |
| Test Case | 01/01/70 00:00 | |
Away for a week | 01/01/70 00:00 |



