<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Swift (programming language) - Page 26 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Swift_(programming_language)&amp;p=25">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Swift_%28programming_language%29&amp;p=27">3.Next</a>
</p>
<p>with explicit type String.if currentScore > highScoreThreshold {    playerMessage = "You are a top player!"} else {    playerMessage = "Better luck next time."}</p>

<p>print(playerMessage) // Prints "You are a top player!"Control flow in Swift is managed with <a href="page.php?w=If_statement">if-else</a>, <a href="page.php?w=Guard_%28computer_science%29">guard</a>, and <a href="page.php?w=Switch_statement">switch</a> statements, along with <a href="page.php?w=While_loop">while</a> and <a href="page.php?w=For_loop">for-in loops</a>.</p>

<p>The</p><p>
<a accesskey="1" href="page.php?w=Swift_(programming_language)&amp;p=25">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Swift_%28programming_language%29&amp;p=27">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
