Sunday, January 22, 2012

Rules for Naming a Variable in GW-Basic

1.            A Variable name cannot be more than 40 characters.
2.            The name of Variable may contain alphabets (both lower case and upper case) numbers and
                decimal points.
3.            The first character in name of Variable must be an Alphabet.
4.            Key /Reserved words of BASIC cannot be used as Variables.
5.            Blank space is not allowed in names of Variables.
6.            Last character of variable name should indicate the type of variable.