Common Ground 2000 Format Specification The objective is to represent all digital data in a single format that is accessible to humans and Adams. Collins Software gives you the right to freely use this format, however Collins Software retains the right to ownership of this standard and retains the right to all publications of this format *CG2 statement Defines the file as being in the CG2 format. This statement MUST be the first line in the file. Format: *CG2; *SECTION statement Defines the hierarchical section name of the data records that follow Format: *SECTION, name [:name...]; name Defines the names of the section. any level of hierarchical leveling can be specified. Records are grouped by their hierarchical parentage. *DEFINE statement Defines the structure of a data record and the format of each of its values. Format: *DEFINE[:object], [record-id], [value-def [,value-def...]];
Defines the type of record. A 1 to 255 character identifier.
Defines the name of the
record. This value is the record prefix which will be used as the first value of the
data
Defines the name and characteristics of a column in the record Format: value_id[(size)][:descr]
1 to 255 character identifier.
An optional array size which
specified the maximum number of elements in a record. The first value in the
Specifies a structure of 2 to more values. Each value is separated on the data record by a plus sign "+".
1 to 32 character identifier.
Defines the original format and characteristics of a value.
RAW DATA statement Introduces a record of the
specified number of bytes in length that is read as a block Format: *RAW n ; n The number of bytes that follow this record until the start of the next record. DATA RECORDS The records containing database information. Format: [record-id,] [value-list] ;
The internal record identifier
assigned by a DEFINE statement. This value is not required if
The values to be assigned to
the identified record structure. |