Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My Massive Packet
#7
Nice job, Ralph. It works.

A few comments:
There is an extra DATA statement at the end. Because of the number of data pairs, it is not needed nor processed for this version. But, this shows that the number of defined data pairs must match the number of data pairs in the DATA statements.

The values in each DATA statement should be validated as follows:
* Each DATA statement of data pairs must contain 4 values. as per the format shown in the sample program. Otherwise these data statements could be formatted as 1 or 2 values per DATA statement.
* Each of these values must be validated: no negatives, strictly numeric, and hours must be from 0 to 23, and minutes from 0 to 59.
* The DATA statement containing the single number of data pairs must itself be a positive value greater than zero.

All this extra validation would be required if the program is to be entirely bulletproof.

Regards..... Moneo

Reply


Messages In This Thread
My Massive Packet - by Tia - 02-27-2008, 06:29 AM
Re: My Massive Packet - by Tia - 02-29-2008, 04:36 AM
Re: My Massive Packet - by Tia - 03-01-2008, 02:19 AM
Re: My Massive Packet - by Ralph - 03-28-2008, 07:59 PM
Re: My Massive Packet - by Moneo - 03-29-2008, 12:05 AM
Re: My Massive Packet - by Ralph - 03-29-2008, 02:42 AM
Re: My Massive Packet - by Moneo - 03-29-2008, 05:54 AM
Re: My Massive Packet - by Ralph - 03-31-2008, 02:32 AM
Re: My Massive Packet - by Moneo - 03-31-2008, 06:59 AM
Re: My Massive Packet - by Ralph - 03-31-2008, 07:47 AM
Re: My Massive Packet - by Tia - 04-02-2008, 06:12 AM
Re: My Massive Packet - by Ralph - 04-02-2008, 06:23 AM
Re: My Massive Packet - by Tia - 04-03-2008, 04:42 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)