fl.hlp (Table of Contents; Topic list)
Data Threshold Option (/Gt)
                                             Up Contents Index Back
─────Data Threshold Option (/Gt)────────────────────────────────────────────
 
     The /Gt option sets the data threshold.
 
     Syntax: /Gt[number]
 
     In the medium memory model, the compiler allocates all static and
     global data items within the default data segment. In the large
     and huge models, the compiler allocates only initialized static
     and global data items to the default data segment.
 
     The /Gt option can be used only with large- and huge-model
     programs, since medium-model programs have only one data segment.
 
     /Gt causes all data items greater than or equal to <number> bytes
     to be allocated to a new data segment outside the default data
     segment. The default threshold is 32,767 bytes. Including /Gt
     without a number changes the default to 256 bytes. The <number>
     argument must immediately follow /Gt, with no intervening spaces.
                                    -♦-