Tuto WINDEV 25

44 Part 2: The WLanguage basics What is a variable? In a programming language, a variable is used to store data. These memory sections contain strings, numbers, etc. The variables are used to perform calculations, to perform comparisons or to store information that will be used later. A variable is represented by: • a name: Name given to the variable so that it can be used by the language. • a type: Nature of data stored in the variable (see The types of variables). • a value: Information stored in the variable. • a scope: Limit for using the variable in the program (see The scope of variables). The scope is mainly defined by the location where the variable is declared.

RkJQdWJsaXNoZXIy NDQ0OA==