Difference between revisions of "Z^3 Language Documentation"

From ZCubes Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
                 b++
 
                 b++
 
           },
 
           },
"mango"::  
+
"mango"::  
 
         {
 
         {
 
                 b=345;
 
                 b=345;

Revision as of 07:45, 22 June 2016

Operators

Logical Constructs

Switch Statement Notations

b=0;
fruits="mango";
fruits:::
{
   "apple","tomoto":: 
   {
               b++
          	},
"mango":: 
       	{
               b=345;
               ; // this empty statement makes it fall through.
           },
       default::
       	{
               b=45.6;
           }

} b;