Skip to page content |

Tiscali Quicklinks. Please visit our Accessibility Page for a list of the Access Keys you can use to find your way around the site, skip directly to the main navigation, to the page content, or to more links within reference.

Advertisement starts



Advertisement ends

Content Starts Here


Dictionary of Computers - variable

Index
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
variable
Quantity that can take different values. Variables can be used to represent different items of data in the course of a program.

A computer programmer will choose a symbol to represent each variable used in a program. The computer will then automatically assign a memory location to store the current value of each variable, and use the chosen symbol to identify this location.

For example, the letter P might be chosen by a programmer to represent the price of an article. The computer would automatically reserve a memory location with the symbolic address P to store the price being currently processed.

Different programming languages place different restrictions on the choice of symbols used to represent variables. Some languages only allow a single letter followed, where required, by a single number. Other languages allow a much freer choice, allowing, for example, the use of the full word ‘price’ to represent the price of an article.

A global variable is one that can be accessed by any program instruction; a local variable is one that can only be accessed by the instructions within a particular subroutine.

© From the Hutchinson Encyclopaedia.
Helicon Publishing LTD 2008.
All rights reserved.

Advertisement starts



Advertisement ends


Dictionary search
Search for:


Italy Flag
Italy Flag The colours of the flag date from Napoleon's invasion in 1796. The design is based on the French tricolour. Effective date: 19 June 1946. >>

Advertisement starts



Advertisement ends

Page Footer


Access keys


You will need to use different key combinations in order to use access keys depending on your internet browser, find out which on our accessibility page.
  • (0) Navigate to Accessibility page.
  • (1) Navigate to Home page.
  • (2) Navigate to My email.
  • (3) Navigate to My Account.
  • (4) Navigate to Site Map page.
  • (5) Navigate to Contact us page.
  • (6) Navigate to Members channel.
  • (7) Navigate to Services channel.
  • (8) Navigate to News & Info channel.
  • (9) Navigate to Entertainment channel.
  • ([) Skip down to the Primary navigation block.
  • (]) Skip down to the more links within this section block.
  • (=) Bypass all navigation and jump to the content.