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.8 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!uunet!crdgw1!jupiter!kassover From: kassover@jupiter.crd.ge.com (David Kassover) Newsgroups: comp.lang.ada Subject: Re: more silly portablity problems Message-ID: <7994@crdgw1.crd.ge.com> Date: 29 May 90 15:42:14 GMT Article-I.D.: crdgw1.7994 References: <1990May25.171457.26472@cbnewsl.att.com> Sender: news@crdgw1.crd.ge.com Organization: Aule-tek, Inc. @ General Electric Corporate Research & Development List-Id: In article <1990May25.171457.26472@cbnewsl.att.com> arny@cbnewsl.att.com (arny.b.engelson) writes: ... >I received something close to 20_000 lines of Ada source code from someone, >which I believe had been compiled under Alsys. When I attempted to compile >it under DEC's compiler, I discovered (to my disappointment) that the >compiler limits the input line length to 120 characters and the source code >contained many lines (hundreds I think) over this limit. The compiler >simply ignored everything beyond column 120 (it did print an error message). In section F.9.5 Implementation limits, the VAX Ada reference manual (February 1985) shows 120 as the maximum number of characters in a source line. The entire Appendix F in this manual is printed in a color other than black, which is Digital's convention for non-standard or ad-libertem features. I suppose it would have been nice if Digital had provided a pragma that could change this limit on a compilation by compilation basis. Perhaps they just haven't got to it yet. (Here at the Control Systems Laboratory in CRD, we have not gotten to version 2.x of the Ada compiler yet, for compatibility with our end-users reasons. I don't know how much of the world will change when we do so) I, myself, use a editing window (for Ada code) that is 100 columns wide. I find that this is a reasonable compromise between 120 characters (max the compiler will allow) and 80 characters, which would necessitate many more lines of code (we have long identifiers here) We have no formal coding style specification here, and so far individual variations have caused no real problems among us. -- David Kassover "Proper technique helps protect you against kassover@ra.crd.ge.com sharp weapons and dull judges." kassover@crd.ge.com F. Collins