Rules for naming variable in QBASIC language

  • The rules for naming variables in QBASIC language:
    • Variables must start with alphabet and can start be followed by a number.
    • Only alphabets, numbers and underscore are allowed while declaring a variable.
    • Inbuilt keywords and functions can't be used for variable name.
    • Both uppercase and lowercase are accepted.
    • The variable name can be maximum of 40 characters. 
    • It doesn't take blank space.

Share :

Back To Top

facebook main


Powered by Blogger.