From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9023f3818c3c6a68,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-24 15:55:26 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: redy.r@madagascan.com (Redy RAMAMONJISOA) Newsgroups: comp.lang.ada Subject: Detecting the OS type before clearing screen Date: 24 Mar 2003 15:55:25 -0800 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 193.251.181.241 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1048550126 29594 127.0.0.1 (24 Mar 2003 23:55:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Mar 2003 23:55:26 GMT Xref: archiver1.google.com comp.lang.ada:35662 Date: 2003-03-24T23:55:26+00:00 List-Id: hello, Do someone now how can i detect on which operating system my binary file is executed. I need to write a program in ada and in it, i have to write a procedure which clear the screen. But i wish to use the same source code for all systems targeted (MS Windows and Linux families). I think that this is essential because as far as i know, Ada does'nt have any build function which clear the terminal screen. Thanks in advance