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?

asked 10.02.2011 at 05:53

Lars%20Winnat's gravatar image

Lars Winnat
accept rate: 0%

Unfortunately switch case is not supported by ivyScript. Please help yourself with if else:

int i = 0;
if (i == 0)
{ }
else if (i == 1)
{ }
{ }

answered 10.02.2011 at 06:06

Christian%20Strebel's gravatar image

Christian St... ♦
accept rate: 88%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 10.02.2011 at 05:53

Seen: 2,005 times

Last updated: 10.02.2011 at 05:53