<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://trans.onionmixer.net/wiki/index.php?action=history&amp;feed=atom&amp;title=ComputerProgrammingwithGNUSmalltalk%3A3.3</id>
	<title>ComputerProgrammingwithGNUSmalltalk:3.3 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://trans.onionmixer.net/wiki/index.php?action=history&amp;feed=atom&amp;title=ComputerProgrammingwithGNUSmalltalk%3A3.3"/>
	<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=ComputerProgrammingwithGNUSmalltalk:3.3&amp;action=history"/>
	<updated>2026-04-16T20:08:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://trans.onionmixer.net/wiki/index.php?title=ComputerProgrammingwithGNUSmalltalk:3.3&amp;diff=2479&amp;oldid=prev</id>
		<title>Onionmixer: CPGS 메시지연쇄 페이지 추가</title>
		<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=ComputerProgrammingwithGNUSmalltalk:3.3&amp;diff=2479&amp;oldid=prev"/>
		<updated>2012-09-21T09:04:32Z</updated>

		<summary type="html">&lt;p&gt;CPGS 메시지연쇄 페이지 추가&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==메시지 연쇄==&lt;br /&gt;
&lt;br /&gt;
객체 이름에 하나 이상의 메시지를 쓴다면, 모든 메시지들은 이전 메시지의 결과 객체에 전달될 것입니다. 이것을 메시지 연쇄 message chaining 라 합니다. 메시지 연쇄에 대한 예는 다음과 같습니다.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;smalltalk&amp;quot;&amp;gt;&lt;br /&gt;
objectName message1 message2 message3 ... messageN&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
따라서 message1이 바로 objectName에 전달될 때, message2는 objectName message1 표현식의 결과값으로 나오는 객체에 전달됩니다. 같은 논리로 message3는 표현식 objectName message1 message2의 결과 객체에 전달된다고 말할 수 있습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
여기 메시지 연쇄가 실제 쓰이는 예제를 보겠습니다.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;smalltalk&amp;quot;&amp;gt;&lt;br /&gt;
&amp;#039;Canol&amp;#039; reverse asUppercase&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{HighlightPurple|&amp;#039;LONAC&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
여기서 Canol 문자열은 결과 문자열 객체인 ‘LONAC’ 에 도달할 때까지 2 번의 메시지를 통해 생성하였습니다.&lt;br /&gt;
&lt;br /&gt;
[[Category:ComputerProgrammingwithGNUSmalltalk]]&lt;/div&gt;</summary>
		<author><name>Onionmixer</name></author>
	</entry>
</feed>