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> output file buffer redirection {$p0} pp 316</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Output File Buffer Redirection     {$P0}                             pp 316

 Default:   P0

 Scope:     Global

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

 Inactive:  {$Px}  Size > 0: Output refers to standard DOS output handle.


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

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

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

            When the buffer is greater than zero (e.g. $P512) output
            refers to the standard DOS output 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: {$G0}

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