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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f6b27885de40df95 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-26 10:14:05 PST Path: supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!newsfeed.esat.net!news.heanet.ie!Colin_Paul_Gloster From: Colin_Paul_Gloster@ACM.org (Colin Paul Gloster) Newsgroups: comp.lang.ada Subject: End of line delimited comments versus multiple line comments (was Date & time formatting operations for review) Date: 26 Mar 2001 19:15:18 GMT Organization: Dublin City University Message-ID: References: <3AB77D0C.4492D7A5@boeing.com> Reply-To: Colin_Paul_Gloster@ACM.org NNTP-Posting-Host: ns.dcu.ie X-Trace: kenraki.heanet.ie 985634118 26553 136.206.1.3 (26 Mar 2001 19:15:18 GMT) X-Complaints-To: news@kenraki.heanet.ie NNTP-Posting-Date: 26 Mar 2001 19:15:18 GMT User-Agent: slrn/0.9.5.3 (UNIX) Cache-Post-Path: ns.dcu.ie!unknown@tolka.dcu.ie X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: supernews.google.com comp.lang.ada:6061 Date: 2001-03-26T19:15:18+00:00 List-Id: A fine example to show up end of line delimited comments methinks. In article <3AB77D0C.4492D7A5@boeing.com>, Jeffrey Carter showed us: "[..] Code follows (some lines may have wrapped): [..] -- This would be part of PragmARC.Date_Handler, which provides a Split operation [..] -- By combining the image functions provided here, the client should be able to create any [..] -- A client will usually create a date-formatting function for its desired format from these functions. -- Copyright (C) 2001 by PragmAda Software Engineering. All rights reserved. [..] -- Image functions with a Zero_Fill parameter may have extra leading characters in the result. [..] -- If Zero_Fill, result will always be 2 characters long. Otherwise, result will be 1 or 2 characters long. [..] -- Returns the decimal image of Year. Result will be large enough to hold this image, or Width characters long, [..] type Case_Selection is (Lower, Mixed, Upper, As_Is); -- Determines the formatting of month names type Name_List is array (Calendar.Month_Number) of Unbounded_String; -- Used to provide month names [..] -- If Zero_Fill, result will always be 2 characters long. Otherwise, result will be 1 or 2 characters long. [..] -- Returns To_String (Name (Month) ), formatted as directed by Casing. [..] -- If Zero_Fill, result will always be 2 characters long. Otherwise, result will be 1 or 2 characters long. [..] -- If Hour = 0, Image is "12". If Hour in 1 .. 12, Image is image of Hour. Otherwise, Image is image of Hour - 12. -- If Hour < 12, returns Image & To_String (AM_PM (AM) ). Otherwise, returns Image & To_String (AM_PM (PM) ). -- If Zero_Fill, Image will always be 2 characters long. Otherwise, Image will be 1 or 2 characters long. [..] -- If Zero_Fill, result will always be 2 characters long. Otherwise, result will be 1 or 2 characters long. [..] -- If Zero_Fill, result will always be 2 characters long. Otherwise, result will be 1 or 2 characters long. [..] -- Returns the decimal image of Seconds, with Aft digits after the decimal point. [..] -- If Aft = 0 and not Zero_Fill, result will be 1 or 2 characters long. -- If Aft > 0 and Zero_Fill, the portion of result left of the decimal point will always be 2 characters long. -- Otherwise, the portion of result left of the decimal point may be 1 or 2 characters long. -- If Seconds >= Minute_Duration'Last, returns Seconds_Image (Minute_Duration'First, Zero_Fill, Aft); if this -- occurs, you should increment Minute. This could result in changing every part of the time and date. [..]" You have almost reached the end. Well done to me and ye. Colin Paul Gloster -- This signature file is included in protest against the hosting of Nazi facist propaganda "Mein Kampf" written by Adolf Hitler on the Dublin City University Networking Society (committee@RedBrick.DCU.Ie, DCU Networking Society, c/o Clubs and Socs Office, The Hub, DCU, Glasnevin, Dublin 9, Ireland) website at HTTP://WWW.RedBrick.DCU.Ie/~mellow/Adolf/ by R. O'Brien whose username is mellow. On 22nd March 2001 Dublin City University webmaster Niall O'Leary (niall.oleary@DCU.Ie, +353-1-700 5864, Room C203, Computer Services Department, Henry Grattan Building, DCU, Glasnevin, Dublin 9, Ireland) authorised "Mein Kampf" to be on the Internet via DCU and HEAnet (info@HEAnet.Ie, +353-1-6623412, HEAnet Ltd., Ground Floor, Marine House, Clanwilliam Court, Dublin 2, Ireland) resources. Please also complain to The President's Office, DCU, Glasnevin, Dublin 9, Ireland, dcupres@DCU.Ie.