English (United Kingdom) Hebrew

Control Instructions

Following are the control instructions in Mama 3D environment:
  • doInOrder - execute a sequence of instructions sequentially
  • doTogether - execute a sequence of instructions simultaneously
  • if - execute a sequence of instructions sequentially only under a given condition
  • while - execute a sequence of instructions sequentially while a given condition holds
  • for - execute a sequence of instructions sequentially a given number of times
  • forAllInOrder - execute a sequence of instructions sequentially iterating over the given collection
  • forAllTogether - execute a sequence of instructions simultaneously iterating over the given collection
  • wait - wait a given amount of seconds
  • print - print the given data to the output console
  • assert - assert that a condition is true, display a message if the condition is false
  • Script - add a free Mama script to the program
  • # - add a comment to the program