Difference between revisions of "Datatype"
(start stub) |
m (sp) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
In [[computer programming]], a '''datatype''' of a variable is a sort of flag which signifies what type the variable is. There are generally several datatypes for numbers (such as double, float, etc.) based on how large the number is, whether it's negative, and other precision measurements. [[Boolean]] variables appear in virtually all languages; they are the fundamental true/false flag. | In [[computer programming]], a '''datatype''' of a variable is a sort of flag which signifies what type the variable is. There are generally several datatypes for numbers (such as double, float, etc.) based on how large the number is, whether it's negative, and other precision measurements. [[Boolean]] variables appear in virtually all languages; they are the fundamental true/false flag. | ||
− | In some low-level languages such as C, there is no [[string]] datatype to store multiple characters; one can only have [[array]]s of single characters which cannot be combined except with special functions, or a [[class]] with operator | + | In some low-level languages such as C, there is no [[string]] datatype to store multiple characters; one can only have [[array]]s of single characters which cannot be combined except with special functions, or a [[class]] with operator overrides. |
+ | |||
{{stub}} | {{stub}} | ||
− | [[Category: | + | [[Category:Datatypes]] |
[[Category:Definition]] | [[Category:Definition]] |
Latest revision as of 19:29, 11 December 2008
In computer programming, a datatype of a variable is a sort of flag which signifies what type the variable is. There are generally several datatypes for numbers (such as double, float, etc.) based on how large the number is, whether it's negative, and other precision measurements. Boolean variables appear in virtually all languages; they are the fundamental true/false flag.
In some low-level languages such as C, there is no string datatype to store multiple characters; one can only have arrays of single characters which cannot be combined except with special functions, or a class with operator overrides.
This article is a stub. Help us out by expanding it.