use DOS in pascal - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

use DOS in pascal

memoriesmemories Posts: 7Member
hello, im here gain
i want to know more about the use of DOS in pascal.
What is the relevance of attaching:
uses crt, DOS;
in a pascal program?
would it be possible not to include this one?

thanks
memories

Comments

  • zibadianzibadian Posts: 6,349Member
    : hello, im here gain
    : i want to know more about the use of DOS in pascal.
    : What is the relevance of attaching:
    : uses crt, DOS;
    : in a pascal program?
    : would it be possible not to include this one?
    :
    : thanks
    : memories
    :
    The DOS unit contains several file handling routines. You are not required to use it, but then you have to write the implementation to those functions yourself. In some cases these functions are written in assembly and cannot be written in the Pascal language itself.
  • Haroldo_o_pHaroldo_o_p Posts: 79Member
    : hello, im here gain
    : i want to know more about the use of DOS in pascal.
    : What is the relevance of attaching:
    : uses crt, DOS;
    : in a pascal program?
    : would it be possible not to include this one?
    :
    : thanks
    : memories
    :

    Yes, you could omit it if you didn't need any of its functions. This unit is used for listing directory contents, capturing interrupts, checking and changing file attributes, etc.
Sign In or Register to comment.