what is the use of control statement in qb64?
Answers
The LET statement is not a statement of algebraic equality; rather, it is a definition that assigns a value or a number to a variable. The LET statement can be used to assign a constant value to a variable name, a variable to a variable name, or the result of an expression to a variable name.
IN A PROGRAM, THE STATEMENTS ARE GENERALLY EXECUTED IN A SEQUENTIAL MANNER. BUT, AT TIMES THE USER MIGHT NEED TO CHANGE THIS ORDER OF EXECUTION, EITHER BY REPEATING OR SKIPPING THE EXECUTION OF CERTAIN STATEMENT SUBJECT TO A GIVEN CONDITION. THIS CAN BE DONE WITH THE HELP OF CONTROL STATEMENTS. THEY PLAY A VERY IMPORTANT ROLE IN PROGRAMMING DUE TO THEIR CAPABILITY OF MAKING DECISIONS. THERE ARE VARIOUS CONTROL STATEMENTS IN QB64 LIKE GOTO, IF THEN, IF THEN ELSE ETC.