lundi 12 octobre 2020

Call and combine functions based on conditions

Let’s assume that we have three functions and I want to call two functions every time based on conditions as the following:

start:
    Function one()
    Function two()
    Function three()
    
        Function combine1(){ if(something{call function one and two})
        break; //go to start

        Function combine2(){ if(something{call function two and three})
        break; //go to start

        
   
    

In another word, I am trying to call functions and keep them in loop until a condition is met. Thanks for your time and help!

Aucun commentaire:

Enregistrer un commentaire