IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 21, 2006, 2:26:03 PM (20 years ago)
Author:
jhoblitt
Message:

spec 'descriptive' comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/glueforge.in

    r6447 r6458  
    33# Copyright (C) 2005-2006  Joshua Hoblitt
    44#
    5 # $Id: glueforge.in,v 1.46 2006-02-17 03:39:28 jhoblitt Exp $
     5# $Id: glueforge.in,v 1.47 2006-02-22 00:26:03 jhoblitt Exp $
    66
    77use strict;
     
    344344
    345345    table   STR     foo
    346     foo     STR     60      # Primary Key
    347     bar     S32     0
     346    foo     STR     60      # Primary Key # the name of foo thing
     347    bar     S32     0       ## count of bar
    348348    baz     F32     0.0
    349349    boing   F64     0.0
     
    360360C<F32>, C<F64>, & C<BOOL> columns are ignored.
    361361
    362 Keys maybe specified as a C<Primary Key> or C<Key>.  Only one C<Primary Key>
    363 may be specified per table.
     362Indexes maybe specified as comment value of either C<Primary Key> or C<Key>.
     363Only one C<Primary Key> may be specified per table. 
     364
     365Description comments may specified as either a C<# ...> after an index
     366specifier or as stand alone comment value of C<## ...>.
    364367
    365368The key name C<position> is also reserved as it is used internally by the
     
    387390
    388391foo METADATA
    389     foo     STR     60      # Primary Key
    390     bar     S32     0
     392    foo     STR     60      # Primary Key # the name of foo thing
     393    bar     S32     0       ## count of bar
    391394    baz     F32     0.0
    392395    boing   F64     0.0
     
    398401    boing   F64     0.0
    399402    baz     F32     0.0
    400     bar     S32     0
    401     foo     STR     60      # Primary Key
     403    bar     S32     0       ## count of bar
     404    foo     STR     60      # Primary Key # the name of foo thing
    402405END
    403406
Note: See TracChangeset for help on using the changeset viewer.