If statement : if a condition is filled then ... NOTHING

 

Hi,

I'm looking for the operator to "break" if a condition is filled since 'break' only works with while, do while, for ...

THanks

 
blouf:

Hi,

I'm looking for the operator to "break" if a condition is filled since 'break' only works with while, do while, for ...

THanks

Return? 
 
Break out of what? like doshur said, return breaks out of the function... Could post an example of your code cause your title doesn't really make sense. Why test for a condition at all in order to do.... nothing?
 
bendex77:
Break out of what? like doshur said, return breaks out of the function... Could post an example of your code cause your title doesn't really make sense. Why test for a condition at all in order to do.... nothing?

Okay return - it works & what i was looking for ! thanks you !!!