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.9 required=5.0 tests=BAYES_00 autolearn=ham
autolearn_force=no version=3.4.4
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103376,3796c9f26082a2b8
X-Google-Attributes: gid103376,public
X-Google-ArrivalTime: 2002-05-30 11:07:33 PST
Path:
archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed1.bredband.com!bredband!news000.worldonline.se!fr.clara.net!heighliner.fr.clara.net!freenix!wanadoo.fr!not-for-mail
From: Pascal Obry
Newsgroups: comp.lang.ada
Subject: Re: Ada has no continual line(s) ??
Date: 30 May 2002 20:07:31 +0200
Organization: Home - http://perso.wanadoo.fr/pascal.obry
Message-ID:
References:
<3cf652a0.31278796@news.demon.co.uk>
NNTP-Posting-Host: avelizy-103-1-3-142.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: wanadoo.fr 1022782052 1123 217.128.47.142 (30 May 2002 18:07:32 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 30 May 2002 18:07:32 GMT
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.90
Xref: archiver1.google.com comp.lang.ada:25022
Date: 2002-05-30T18:07:32+00:00
List-Id:
"hongxun lee" writes:
> Sorry..my Q is How to show a line of code is a continual part of it
> preceding statement?
In Ada statements can spread on multiple lines. A new-line does not stop a
statement. For example:
A := A + 1; B := B + 1; C := A + B;
is equivalent to:
A
:=
A
+
1
;
B := B
+ 1; C := A
+
B;
Of course a good style is to have a single statement on each line:
A := A + 1;
B := B + 1;
C := A + B;
Does that answert your question ?
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595