Global formatting

Top  Previous  Next

On a global basis GAMS specifies defaults for the 4 categories of put file items as follows

 

     Default         Justification

Item Justification         Value               Symbol

 

Set element nameLeft                2                .lj
Numeric outputRight                1                .nj
Set element entry (yes's and no's )Right                1                .sj
Quoted and Explanatory textLeft                2                .tj

 

This can be changed using the format

 

Localfileidentifier.justificationsymbol=value;

 

The value specified is

 

1for justification to the right of a field
2for justification to the left of a field
3for justification in the center of a field

Notes:

Justification only occurs when the width of the field in which an element is to be placed exceeds the width of the element to be put into that field.
The justificationsymbol for overriding each of these defaults is an attribute of the localfileidentifier put file name and is the symbol in the last column of the table above.  Use of each will be discussed below.