Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - -gf strings in far data segment http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 -Gf                 Strings in far data segment
------------------------------------------------------------------------------
 Syntax
   -Gf

 Arguments
   None.

 Default
   Literal strings in global data segment.

 Description
   The -Gf switch instructs the compiler to place literal string
   constants in a far data segment, separate from the global data segment
   (DGROUP). By default, such data are saved in DGROUP together with
   global variables, dbfdefs, indexdefs, etc. Due to that, large
   applications could fail if the DGROUP, whose size is limited to 64
   Kbytes, becomes overloaded. The -Gf switch should help to avoid such
   situations in most cases.

 Example
   . Relocate string literals to a far data segment.
   
     force.exe -Gf test.prg
   
   . Disable relocating string literals (override the effect of a -Gf switch
     in force.cfg).
   
     force.exe -Gf- test.prg

See Also: far string

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson