Z^3 Language Documentation

Operators

Logical Constructs

Switch Statement Notations

how to make this work?

b=0; fruits="mango"; fruits::: {

       "apple","tomoto":: 
       	{
               b++
          	},

"mango"::

       	{
               b=345;
               ; // this empty statement makes it fall through.
           },
       default::
       	{
               b=45.6;
           }

} b;