Every programming language has a set of rules that have to be followed while writing a program, following are some rules of QBASIC language:
1. All QBasic programs are made up of series of statements, which are executed in the order in which they are written.
2. Every statement should have at least one QBasic command word. The words that BASIC recognizes are called keywords.
3. All the command words have to be written using some standard rules, which are called “Syntax Rules”.
Syntax is the grammar of writing the statement in a language. Syntax Errors are generated when improper syntax is detected.
No comments:
Write comments