Difference between revisions of "Standard type"

From Free Pascal wiki
Jump to navigationJump to search
 
Line 3: Line 3:
 
There are certain [[Data type|data types]] which are defined by a [[Pascal]] [[Compiler|compiler]] as '''standard data types'''.  These types are generally the ''atomic'' data structures used by a [[Pascal]] [[Program|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:
 
There are certain [[Data type|data types]] which are defined by a [[Pascal]] [[Compiler|compiler]] as '''standard data types'''.  These types are generally the ''atomic'' data structures used by a [[Pascal]] [[Program|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:
  
*[[boolean]] - [[True|true]] or [[False|false]]
+
*[[Boolean|boolean]] - [[True|true]] or [[False|false]]
 
*[[Char|char]] - Character
 
*[[Char|char]] - Character
 
*[[Real|real]] - Numbers with decimal points or exponents
 
*[[Real|real]] - Numbers with decimal points or exponents
Line 11: Line 11:
 
Additional standard types which are defined by more advanced compilers include:
 
Additional standard types which are defined by more advanced compilers include:
  
*[[object]] - used to declare object types
+
*[[Object|object]] - used to declare object types
 
*[[String|string]] - used to declare strings which are handled automatically by the compiler and [[RTL|run-time library]].
 
*[[String|string]] - used to declare strings which are handled automatically by the compiler and [[RTL|run-time library]].
  
 
[[Category:Pascal]]
 
[[Category:Pascal]]

Latest revision as of 18:18, 23 March 2016

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.