<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.erights.org/mediawiki/skins/common/feed.css?207"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.erights.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Miranda_respondsTo</id>
		<title>Miranda respondsTo - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.erights.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Miranda_respondsTo"/>
		<link rel="alternate" type="text/html" href="http://wiki.erights.org/mediawiki/index.php?title=Miranda_respondsTo&amp;action=history"/>
		<updated>2026-04-26T00:04:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.15.5-7</generator>

	<entry>
		<id>http://wiki.erights.org/mediawiki/index.php?title=Miranda_respondsTo&amp;diff=2162&amp;oldid=prev</id>
		<title>Kevin Reid at 03:46, 7 August 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.erights.org/mediawiki/index.php?title=Miranda_respondsTo&amp;diff=2162&amp;oldid=prev"/>
				<updated>2011-08-07T03:46:38Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''__respondsTo/2''' is a [[Miranda message]] for asking whether an object understands a message.&lt;br /&gt;
&lt;br /&gt;
{{instance msgdoc|__respondsTo|2|&amp;lt;var&amp;gt;verb&amp;lt;/var&amp;gt; :[[Verb]], &amp;lt;var&amp;gt;arity&amp;lt;/var&amp;gt; :([[int]] &amp;amp;gt; 0)|[[boolean]]}}&lt;br /&gt;
&lt;br /&gt;
Returns a boolean indicating whether this object responds to messages with the verb &amp;lt;var&amp;gt;verb&amp;lt;/var&amp;gt; and arity (number of arguments) &amp;lt;var&amp;gt;arity&amp;lt;/var&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Miranda method for E-language objects is:&lt;br /&gt;
# If this object has a method with the given verb and arity, return true.&lt;br /&gt;
# If there is a [[Miranda method]] with the given verb and arity, return true.&lt;br /&gt;
# If the object has a [[matcher]], return the result of invoking the matcher with the __respondsTo message. If the matcher does not match, return false.&lt;br /&gt;
# Return false.&lt;br /&gt;
{{XXX|confirm this is an accurate description of current behavior.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Miranda messages]]&lt;/div&gt;</summary>
		<author><name>Kevin Reid</name></author>	</entry>

	</feed>