|
An important attribute that controls how pages appear, as well as whether a number of the other parameters (.ps, .tm, .bm) even function and whether the data are printed in a comma delimited fashion is the page control option. This is set using the syntax
Localfileidentifier.pc=number;
or in the example putex5.gms
my1.pc=3;
The integer 0-6 are allowable values for number.
| Value | Resultant effect on Output file |
| 0 | Causes the use of standard paging based on the current page size. Partial pages are padded with blank lines. Note that the .bm file suffix is only functional when used with this print control option. |
| 1 | Causes the use of Fortran page format. This option places the numeral one in the first column of the first row of each page in following standard Fortran convention. |
| 2 | Causes no paging to be done and is the default setting. |
| 3 | Causes ASCII page control characters to be inserted. |
| 4 | Makes the put file output into a space delimited file. Non-numeric output is quoted, and each item is delimited with a blank space. Here # and @ commands are ignored. |
| 5 | Makes the put file output into a comma delimited (CSV) file. Non-numeric output is quoted, and each item is delimited with a comma. Here # and @ commands are ignored. |
| 6 | Makes the put file output into a tab delimited file. Non-numeric output is quoted, and each item is delimited with a tab. Here # and @ commands are ignored. |
The last three options create delimited files, and are especially useful when preparing output for the direct importation into other computer programs such as spreadsheets. See the example putex6.gms.
|