Article View: comp.lang.eiffel
Article #1274Re: Eiffel suggestion
From: LTH network news server
Date: Wed, 28 Dec 1988 13:28
Date: Wed, 28 Dec 1988 13:28
25 lines
1537 bytes
1537 bytes
>One of the things that drove me nuts about Simula 67 was the absence
>of a concatenation operator.
>...
>Unfortunately, unless I missed something, Eiffel doesn't even have a
>CONCAT feature for STRING. It does have prepend and append, but they
>change the string they are applied to.
The current standard of Simula DOES have a text concatenation operation. This
operator always creates a new text object and does not change any of the
operands. Both constants and variables can be handled by the operator.
Example:
begin
text x = "Foo"; ! --- Declaration of text constant ---;
sysout.outtext(x & "f" & "a" & "h!");
end;
This program yields "Foofah!" on the standard output.
The current standard of Simula is published as a Swedish national standard
document: SS 636114 (ISBN 91-7162-234-9). It is available via all other national
standardization bodies. (And via Simula vendors.)
---
Gorel Hedin
Dept. of Computer Science.
Lund Institute of Technology, Sweden
gorel@dna.lth.se
Technical Details
Message-ID:
<1988Dec28.142851.12310@LTH.Se>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!enea!kth!draken!Urd!newsuserReferences:
<6385@bunny.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!enea!kth!draken!Urd!newsuser From: newsuser@LTH.Se (LTH network news server) Newsgroups: comp.lang.eiffel Subject: Re: Eiffel suggestion Message-ID: <1988Dec28.142851.12310@LTH.Se> Date: 28 Dec 88 13:28:51 GMT References: <6385@bunny.UUCP> Reply-To: gorel@DNA.LTH.Se (G|rel Hedin) Organization: Computer Science, Lund Institute of Technology, Sweden Lines: 25