From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: Ada has no continual line(s) ??
Date: 30 May 2002 20:07:31 +0200
Date: 2002-05-30T18:07:32+00:00 [thread overview]
Message-ID: <uadqhik64.fsf@wanadoo.fr> (raw)
In-Reply-To: ad5o8l$2u7$1@charm.magnus.acs.ohio-state.edu
"hongxun lee" <lee.1801@osu.edu> 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
next prev parent reply other threads:[~2002-05-30 18:07 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-30 16:20 Ada has no continual line(s) ?? hongxun lee
2002-05-30 16:26 ` John McCabe
2002-05-30 17:41 ` hongxun lee
2002-05-30 18:07 ` Pascal Obry [this message]
2002-05-31 7:53 ` Poul-Erik Andreasen
2002-05-31 8:25 ` John McCabe
2002-05-31 15:24 ` Darren New
2002-05-31 8:43 ` John McCabe
2002-05-31 16:51 ` Hyman Rosen
2002-05-30 18:15 ` Mark Biggar
2002-05-30 18:28 ` Preben Randhol
2002-05-30 18:31 ` Jeffrey Carter
2002-05-30 20:18 ` John R. Strohm
2002-05-30 19:13 ` Stephen Leake
2002-05-30 20:17 ` Wes Groleau
2002-05-30 21:25 ` Hyman Rosen
2002-05-30 23:14 ` Darren New
2002-05-31 8:27 ` John McCabe
2002-05-31 8:44 ` John McCabe
2002-05-31 19:51 ` Keith Thompson
2002-05-31 9:03 ` Jean-Marc Bourguet
2002-05-31 13:15 ` Stephen Leake
2002-05-31 16:56 ` Hyman Rosen
2002-05-31 8:26 ` John McCabe
2002-05-30 21:48 ` chris.danx
2002-05-31 3:30 ` Robert Dewar
2002-05-31 13:01 ` chris.danx
[not found] ` <ad6b5t$69t$1@charm.magnus.acs.ohio-state.edu>
2002-05-31 14:50 ` Robert Dewar
2002-06-11 21:38 ` Keith Thompson
2002-06-12 23:32 ` David Brown
2002-06-13 2:03 ` Robert A Duff
2002-06-13 15:56 ` Ted Dennison
-- strict thread matches above, loose matches on Subject: below --
2002-06-13 13:17 Grein, Christoph
2002-06-13 14:02 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox