Changes between Version 3 and Version 4 of Doc/panc/tips


Ignore:
Timestamp:
Sep 4, 2007, 3:41:02 PM (18 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Charles Loomis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/panc/tips

    v3 v4  
    11= Record Validation =
    22
    3 Often one wants to ensure that several entries in a record are consistent.  For example, here one wants to ensure that the number of children is consistent with the given maximum.  To remember where to put the validation code, keep in mind that you're validating the record and *not* the entries of the record.  Thus, the 'with' clause should be tied to the record definition. 
     3Often one wants to ensure that several entries in a record are consistent.  For example, here one wants to ensure that the number of children is consistent with the given maximum.  To remember where to put the validation code, keep in mind that you're validating the record and '''not''' the entries of the record.  Thus, the 'with' clause should be tied to the record definition. 
    44{{{
    55type my_kids = {