[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following listing contains the interface of the Dos unit.
This is a portable implementation of most routines from BP's `Dos' unit. A few routines that are Dos -- or even IA32 real mode -- specific, are only available if `__BP_UNPORTABLE_ROUTINES__' is defined, section 6.2 BP Incompatibilities.
The same functionality and much more is available in the Run Time System, section 8.13 Pascal declarations for GPC's Run Time System. In some cases, the RTS routines have the same interface as the routines in this unit (e.g. `GetEnv', `FSplit', `FExpand', `FSearch'), in other cases, they have different names and/or easier and less limiting interfaces (e.g. `ReadDir' etc. vs. `FindFirst' etc.), and are often more efficient.
Therefore, using this unit is not recommended in newly written programs.
{ Portable BP compatible Dos unit |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |