Go Back

User login

Frontpage Sponsor


Google search

For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
Installation Wizard into new VRC
Manual into existing VRC
Manual into new VRC
Total votes: 43

Baanboard at LinkedIn

Reference Content

By patvdv at 26 Feb 2008 - 21:56


The name of a variable is used to indicate the memory location where data (characters, numbers, and so on) is stored. The name of the variable refers to the associated data.

The value of a variable can change during execution of the program. A variable belongs to a data type and must be declared before its use. This is usually done at the start of the program. In some cases initialization of the declared variables is necessary. The default initial value is always zero for longs and doubles, and an empty string for strings.

The name of a variable can consist of any number of letters, digits, underscores [_], and periods [.]. It must begin with an alphabetic character.

You should keep the following in mind when naming a variable:

  • The name of a variable must not be the same as a reserved word or a previously declared variable.
  • The name of the variable must give an indication of its contents. It is good practice to indicate the purpose of a variable beside its declaration, in the form of comments.
  • A variable must not be used for a purpose other than the one for which it was originally intended.

For further information, see the following sections:

Related topics

No votes yet

All times are GMT +2. The time now is 07:20.

©2001-2017 - -