Search This Blog

Monday, 29 October 2012

Identifiers

A identifiers can be defined as the name of the variables and some other programme  elements using the combination of the following characters

  • Alphanumeric characters ( a ~ z , A~Z , 0~9 ) and half underscore ( _ ) can only be used.
  • The first character of the first contain letters ( a ~ z , A~Z ) or half underscore ( _ ) can only be used.
  • Case is distinguishable. That is, word and WORD is recognized as a separate identifier.
  • Reserved words are not allowed. However, part of an identifier reserved words can be included.

Examples of valid Idendifiers:

Sam, SUE, _go, nUmBeR, V1,v2,V3

No comments:

Post a Comment