Re: Eiffel syntax and the ';'

Berend de Boer <[email protected]> Sat, 13 Aug 2005 17:18:26 +1200
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

alan lamer <[email protected]> writes:

> i was wondering about the eiffel syntax, that
> sometimes appears to be confused to me, especially
> with the use of the ';' character. When is this char
> really required ?

When you have two statement on a single line.

Examples:

        a := 1; b := 2

Or

        foo (a: INTEGER; b: INTEGER)

- -- 
Live long and prosper,

Berend de Boer
(PGP public key: http://www.pobox.com/~berend/berend-public-key.txt)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFC/YKiIyuuaiRyjTYRAkmpAKCvPsnqxA83w7xypCExZ8Hd1yGk1ACgsGrq
fcXd5wDfoEflnkHb37YayCE=
=0Zkh
-----END PGP SIGNATURE-----