Re: Contest

new topic     » goto parent     » topic index » view thread      » older message » newer message

Mike Nelson wrote:
> 
> > > Can we have an absolute ruling on the '10-4' query?
> >
> > It's already in the rules. Not a token. :)
> >
> 
> I would say that this is implicit in the rules (as was the string composed
> soley of quotes is not a token). I would like it explicit.
> 
> The rule is that single quotes are disregarded for comparison and display,
> but it does not explicitly state that single quotes are disregared for
> determining whether a string is a token or a delimiter.

Well, I'm not sure if this helps but it does say that a quote is a token
character. 

> Based on Dereks ruling about the 0-length tokens, I believe that consistency
> indicates that '10-4' is not a token. By one rule  '10-4' is the same token
> as 10-4, but by another rule 10-4 is not a token.

'10-4' is a six byte string. Due to the presence of quotes, the six-byte
string is deemed a token whose effective length is 6.

10-4 is a four-byte string. Due to the four-byte string being only composed
of digits and hyphens, it is deemed to be a delimiter.


> In the real world, I have had clients impose contradicory specifications. I
> try to argue them out of it, I often I fail. Perhaps this inconsistency is
> more realistic than a consistent rule would be. I'm fine with it either way.
> 
> When all details are ironed out, my program is ready to fly. I intend to
> submit it at the first legal moment.

I can't wait to see the submissions. I'm getting excited about this, even
though its going to mean a lot of work for me. 

Be patient with me as I'm bound to be too slow and I will make
some mistakes about the results I post.  Please just politely point
out any thing that might be wrong and I'll check it out, and fix it
if required.

-- 
Derek Parnell
Melbourne, Australia

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu