Logical Operators combine two or more relational expressions to evaluate a single value as True (Non Zero) or False (Zero). The result of evaluation is used to make decisions about the program flow. The commonly used logical operators in QBASIC are AND, OR and NOT. It's any two types are as follows: a)AND b) OR
Syntax is a set of rules that must be followed when constructing a program. Syntax tell us how keywords and operators may be used. Forgetting a space or a small spelling mistake will make the Qbasic to produce “syntax Error” message and step program execution.
Comments
Post a Comment