Re: Better Way to Do This

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...

Sorry to burst the bubble, but the test is flawed.

Thank you Derek and Fernando for your diligent coder brains and hawk-like eyes. smile

DerekParnell said...
euphoric said...

I do have a question. When i gets to zero, why doesn't the test for sequence(s[i]) fail? Or is 0 a valid sequence element?!

Good question ... don't know the answer yet.

I could understand if the test for i was first, because it would short circuit, right? Hmmmmm.

Take your time. You'll figure it out.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu