Difference between revisions of "Datatype"

(start stub)
 
m (sp, stub)
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 overides.
+
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:Datatype]]
 
[[Category:Datatype]]
 
[[Category:Definition]]
 
[[Category:Definition]]

Revision as of 21:57, 10 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.