Character Set With Example

  • Character Set
  • QBASIC character set is a set of valid character that a language can recognised. Character includes alphabetic, number and special characters.

  • Charachers Set used in QBASIC are:--
  • #, $, !, %, &They are used at hte end of variales names to specify the type of variale.
    +, -, *, /, \they are mathematical operators.
    < ,>, =They are relational operators.
    (, )They are parenthesis.
    :It is used to write multiple statements in a single line.
    , ;They are separators and are used to separate the arguments in input and output statements.
    ^Ti is exponentiation and is used to raise power to.
    ?It can be used in lace of PRINT Statement
    'It is used to mark a line as a comment instead of a REM Statements
    " "Double Quote use to dispaly instruction to the user (used with PRINT Statements

Comments

Popular posts from this blog

Expression Types and operators with Example

Variable and Types With Example