Difference between revisions of "Standard type"

From Free Pascal wiki
Jump to navigationJump to search
m
m
Line 5: Line 5:
 
*[[boolean]] - [[True|true]] or [[False|false]]
 
*[[boolean]] - [[True|true]] or [[False|false]]
 
*[[Char|char]] - Character
 
*[[Char|char]] - Character
*[[real]] - Numbers with decimal points or exponents
+
*[[Real|real]] - Numbers with decimal points or exponents
 
*[[Integer|integer]] - Whole numbers
 
*[[Integer|integer]] - Whole numbers
 
*[[set]] - A group of values
 
*[[set]] - A group of values

Revision as of 22:42, 21 July 2015

English (en) italiano (it) русский (ru)

There are certain data types which are defined by a Pascal compiler as standard data types. These types are generally the atomic data structures used by a Pascal program, as variables and constants that would be made up of them can't be created from something else without these types. The typical standard types include:

Additional standard types which are defined by more advanced compilers include:

  • object - used to declare object types
  • string - used to declare strings which are handled automatically by the compiler and run-time library.