Comments are useful to give additional information to human readers, but are not evaluated during file reading.
Character Sequence | consists of |
---|---|
# | number sign |
/* | slash + star |
// | double slash |
The following example contains several types of legal comments:
// This is a discrete version of PREM // values at lower side of moho are computed for 24.40001km !name PREM // Preliminary Reference Earth Model 0.000 5.80000 3.20000 2.60000 1451.91656 600.00000 15.000 5.80000 3.20000 2.60000 1451.91656 600.00000 15.000 5.80000 3.20000 2.60000 1451.91656 600.00000 24.400 6.80000 3.90000 2.90000 1345.91217 600.00000 Moho # here begins the mantle 24.4 8.11062 4.49100 3.38075 /* I have deleted Q factors here 40.000 8.10097 4.48526 3.37905 60.000 8.08861 4.47789 3.37688
The first two lines will be ignored completely. The model name will be identified as "PREM", the name of the discontinuity at 24.4km as "Moho".
The following example demonstrates several types of (currently) illegal commenting:
/* This is a discrete version of PREM values at lower side of moho are computed for 24.40001km */ !name PREM / Preliminary Reference Earth Model 0.000 5.80000 3.20000 2.60000 1451.91656 600.00000 15.000 5.80000 3.20000 2.60000 1451.91656 600.00000 15.000 5.80000 3.20000 2.60000 1451.91656 600.00000 24.400 6.80000 3.90000 2.90000 1345.91217 600.00000 Moho 24.4 8.11062 4.49100 3.38075 /* here follows Q */ 1441.7098 600