[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### 6.2.18 -D__BP_UNPORTABLE_ROUTINES__ - Intr; DosVersion; etc.

A few more routines in the ``Dos'` and ``WinDos'` units besides the ones mentioned under section 6.2.8 Keep; GetIntVec; SetIntVec, like ``Intr'` or ``DosVersion'`, are meaningless on non-Dos systems. By default, the ``Dos'` unit does not provide these routines (it only provides those that are meaningful on all systems, which are most of its routines, including the most commonly used ones). If you need the unportable ones, you get them by using the ``System'` unit (see section 6.2.14 - -uses=System - Swap; HeapError; etc.) and defining the symbol ``__BP_UNPORTABLE_ROUTINES__'` (by giving ``-D__BP_UNPORTABLE_ROUTINES__'` on the command line). If you use ``Intr'` or ``MsDos'`, your program will only compile under DJGPP then. Other routines, e.g. ``DosVersion'` are emulated quite roughly on other systems. Please see the notes in the ``Dos'` unit (see section 8.14.2 BP compatibility: Dos) for details.

This document was generated by Frank Heckenbach on May, 10 2002 using texi2html