Using Conditions in Algorithms

Using Conditions in Algorithms

Rubiscape provides loop control statements or conditions that you can use to control the execution of your workbook. They are,

  1. If Else-End

  2. While-End



You can apply the 
If Else and While conditions as predecessors to the algorithms to decide the execution flow. 

The if-else condition decides execution flow based on whether the specified condition results in True or False. The while loop helps to execute a particular flow until the condition is true.
In both cases, the condition is checked before execution, and based on the outcome, the respective block of statements is executed.
You can use the loop control statements in scenarios where you want to execute different tasks based on certain conditions.



    • Related Articles

    • Using Conditions in Algorithms

      Rubiscape provides loop control statements or conditions that you can use to control the execution of your workbook. They are, If Else-End While-End You can apply the If Else and While conditions as predecessors to the algorithms to decide the ...
    • Using If-else Condition

      To use the If Else condition, follow the steps given below. Open the required workbook or create a new workbook. The selected workbook canvas is displayed. Add the reader/dataset, if not already present in your workbook. Drag-and-drop or double-click ...
    • Using If-else Condition

      To use the If Else condition, follow the steps given below. Open the required workbook or create a new workbook. The selected workbook canvas is displayed. Add the reader/dataset, if not already present in your workbook. Drag-and-drop or double-click ...
    • Using While Condition

      To use the While condition, follow the steps given below. Open the required workbook or create a new workbook. The selected workbook canvas is displayed. Add the reader/dataset, if not already present in your workbook. Drag-and-drop or double-click ...
    • Using While Condition

      To use the While condition, follow the steps given below. Open the required workbook or create a new workbook. The selected workbook canvas is displayed. Add the reader/dataset, if not already present in your workbook. Drag-and-drop or double-click ...