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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,794a4cb8f6cfe39b X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Clear Screen Date: 1997/02/25 Message-ID: #1/1 X-Deja-AN: 221453602 References: <330FE569.29FA@bix.com> <5erk3a$a29@news.cict.fr> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-02-25T00:00:00+00:00 List-Id: JED said <> This is the second person to write Character'Val(27) rather than the much clearer Ascii.ESC! Generally you always want to reference control characters by name rather than by mysterious constants. Actually better style is Clear_Screen : constant String := Ascii.ESC & "[2J"; ... Put_Line (Clear_Screen); Naming constants is fundamental technique for making programs more readable!