I think I have those covered.  I don't know enough to shorten my time
anymore.  I look forward to seeing the other VIs.  I have no ideas how to
make it any cleaner.

Mike

 -----Original Message-----
From: jkring [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 7:24 PM
To: Ross, Michael
Cc: Scott Hannahs; info-labview
Subject: RE: OpenG Coding Challenge - Remove Backspace



Mike,

Based on a lot of similar feedback, we have updated the Functional
Requirements to the following (thanks to Christian Altenbach for his work
on this):

 ------------------------------
Removes all backspaces (Slash Code: \b, ASCII Hex: 0x08) and the
characters preceding them. If there are N consecutive backspaces, N
preceding characters will be removed. Extra backspaces are discarded
whenever the edited string reaches zero length. This VI is useful for
terminal programs that are processing user input received by TCP-IP.
 ------------------------------

Hopefully this catches all of our limit conditions (empty string, all
backspaces, no backspaces, etc).  Yes, we will be testing for accuracy as
well as performance.

Regards,

 -Jim


Ross, Michael wrote:
> Mine does spurious \b's so go for it!
>
> mike
>
>  -----Original Message-----
> From: Scott Hannahs [mailto:[EMAIL PROTECTED]
>
>
> In terms of the problem description, must the VI handle the case where
> there
> are more \b (backspaces) than there are characters?  If this is true
then
> the
> VIs should pass an accuracy test as well as performance!
>
>  -Scott
>


Reply via email to