comp.lang.ada
 help / color / mirror / Atom feed
From: kassover@jupiter.crd.ge.com (David Kassover)
Subject: Re: more silly portablity problems
Date: 29 May 90 15:42:14 GMT	[thread overview]
Message-ID: <7994@crdgw1.crd.ge.com> (raw)
In-Reply-To: 1990May25.171457.26472@cbnewsl.att.com

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

      reply	other threads:[~1990-05-29 15:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-05-25 17:14 more silly portablity problems arny.b.engelson
1990-05-29 15:42 ` David Kassover [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox