What is the function of WMLScript Control Statements?
What is the function of WMLScript Control Statements?
- Control statements of WMLScript provide a way to control the sequence of the program.
- It also manages the iterations information used in the program to write the code more efficiently.
- The control statements used in the program are as follows:
- Statement: it is the description about the program that helps in executing according to the code written.
- if-else: is used for the conditional branching where the decision of one branch over another takes place.
- for; this allows self incrementation of the loop over some lines of codes to make it execute.
- while: this is used to create a variable that provides iteration loop over the codes of lines.