Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Validate array of numbers in sequence

by Roger (Parson)
on Sep 08, 2003 at 22:50 UTC ( [id://289900]=note: print w/replies, xml ) Need Help??


in reply to Re: Validate array of numbers in sequence
in thread Validate array of numbers in sequence

This method does not work!

You can not validate the number sequence by simply adding it up. Consider the following lists:

1, 1, 4, 4 and 1, 2, 3, 4. Both add up to 10, but the first list is certainly not in sequence!

  • Comment on Re: Re: Validate array of numbers in sequence

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://289900]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-26 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found