Conditional statements and iterations
You can use conditional statements and iterations to affect the flow of control through a KCM Core script.
Conditional and iterating statements also limit the scope of variables and constants declared within them. You can only use a variable or constant declared in a statement within that statement scope.