<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Switch Case statement in ivyScript</title><link>https://answers.axonivy.com/questions/390/switch-case-statement-in-ivyscript</link><description>&lt;p&gt;I would like to use switch case like I can use it in Java in ivyScript. But I get validation errors if I use it. Do I have to take care about a special syntax? &lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/390/switch-case-statement-in-ivyscript" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 10 Feb 2011 06:06:49 -0500</lastBuildDate><item><title>Answer by Christian Strebel</title><link>https://answers.axonivy.com/questions/390/switch-case-statement-in-ivyscript/391</link><description>&lt;p&gt;Unfortunately switch case is not supported by ivyScript. Please help yourself with if else:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;int i = 0;
if (i == 0)
{ }
else if (i == 1)
{ }
else
{ }
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Thu, 10 Feb 2011 06:06:49 -0500</pubDate><guid>https://answers.axonivy.com/questions/390/switch-case-statement-in-ivyscript/391</guid></item></channel></rss>