<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://coderwiki.org/index.php?action=history&amp;feed=atom&amp;title=And_operator</id>
	<title>And operator - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://coderwiki.org/index.php?action=history&amp;feed=atom&amp;title=And_operator"/>
	<link rel="alternate" type="text/html" href="http://coderwiki.org/index.php?title=And_operator&amp;action=history"/>
	<updated>2026-05-19T04:39:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://coderwiki.org/index.php?title=And_operator&amp;diff=125&amp;oldid=prev</id>
		<title>Dylan: new: info, syntax, examples where true, examples where false</title>
		<link rel="alternate" type="text/html" href="http://coderwiki.org/index.php?title=And_operator&amp;diff=125&amp;oldid=prev"/>
		<updated>2025-08-15T10:34:21Z</updated>

		<summary type="html">&lt;p&gt;new: info, syntax, examples where true, examples where false&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; [[operator]] is a [[boolean operator]] which will return &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; if the two [[boolean]] values either side of it are both &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
In many languages, the &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; [[operator]] uses the &amp;lt;code&amp;gt;&amp;amp;&amp;amp;&amp;lt;/code&amp;gt; symbols.&lt;br /&gt;
&lt;br /&gt;
In some other languages, a [[keyword]] is used instead: in [[Python]], for example, this [[keyword]] is &amp;lt;code&amp;gt;and&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Examples where &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; returns &amp;lt;u&amp;gt;true&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
true &amp;amp;&amp;amp; true&lt;br /&gt;
4 &amp;lt; 7 &amp;amp;&amp;amp; 9 &amp;gt; 2&lt;br /&gt;
(!false) &amp;amp;&amp;amp; true&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples where &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; returns &amp;lt;u&amp;gt;false&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot;&amp;gt;false &amp;amp;&amp;amp; false&lt;br /&gt;
false &amp;amp;&amp;amp; true&lt;br /&gt;
6 &amp;lt; 10 &amp;amp;&amp;amp; 5 == 8&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dylan</name></author>
	</entry>
</feed>