Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> input file buffer redirection {$g0} pp 316</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Input File Buffer Redirection     {$G0}                              pp 316

 Default:   G0

 Scope:     Global

 Active:    {$G0}  Size = 0: Input refers to CON: or TRM: devices.
            Setting {$G0} will cause Compiler Error 93.

 Inactive:  {$Gx}  Size > 0: Input refers to standard DOS input handle.


 ----------------------------------------------------------------------------


 Notes:     This directive must be placed before the declarations.
            It cannot be redefined during program execution.

            The P directive enables input redirection by defining the
            standard input file buffer.  When the buffer size is zero,
            input refers to the CON: or TRM: device.

            When the buffer is greater than zero (e.g. $G512) input
            refers to the standard DOS input handle.

            There is a bug that will not allow this directive to be
            set to zero.  It results in Error 93.  Use the non-declared
            default value if P0 is desired.

See Also: {$P0}

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