When I issue a command to my BCB ( a medical diagnostic machine ) I can get back a varied response:
As an example I use the following:
waitfor("GuiInit state=INITIAL rc=0 sentTo
=GUIBOX replyTo=<none> sender=EXEC type=2 value=0" even though I am only interested that the string that is waited on has:
1. "GuiInit"
2. "sender=EXEC"
3. "type=2"
4. "value=0"
in the return string.
If I was using unix/perl/tcl etc, I would use the regular expression "GuiInit*sender=EXEC*type=2*value=0" or at least something like it.
Actually, ASPECT is starting to grow on me. Too bad there isn't much of a demand for contracting ( am I wrong about this impression ) people using ASPECT.
As an example I use the following:
waitfor("GuiInit state=INITIAL rc=0 sentTo
=GUIBOX replyTo=<none> sender=EXEC type=2 value=0" even though I am only interested that the string that is waited on has:
1. "GuiInit"
2. "sender=EXEC"
3. "type=2"
4. "value=0"
in the return string.
If I was using unix/perl/tcl etc, I would use the regular expression "GuiInit*sender=EXEC*type=2*value=0" or at least something like it.
Actually, ASPECT is starting to grow on me. Too bad there isn't much of a demand for contracting ( am I wrong about this impression ) people using ASPECT.