Tutorials Point

  Euphoria Basics
  Euphoria Useful References
  Euphoria Useful Resources
  Selected Reading

Copyright © 2014 by tutorialspoint

  Home     References     Discussion Forums     About TP  

Euphoria - Branching Statements

previous next AddThis Social Bookmark Button


Branching is the most important aspect of any programming language. While writing your program, you may encounter a situation when you have to take a decision or you have to select one option out of the given many options.

Following figure shows a simple scenario where a program may take one of the two paths based on the given condition.


Euphoria provides following three types of decision making (branching or conditional) statements:

  1. if statement

  2. switch statement

  3. ifdef statement

All the above statements have various forms which provides you a flexibity and ease of use based on different situations.

previous next Printer Friendly