Difference between revisions of "Standard type"

From Lazarus wiki
Jump to navigationJump to search
(Category:Pascal)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<small>[[Standard type/it|italiano(it)]]
+
{{Standard type}}
'''english'''</small>
 
  
 
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
 
*[[Integer|integer]] - Whole numbers
 
*[[Integer|integer]] - Whole numbers
*[[set]] - A group of values
+
*[[Set|set]] - A group of values
  
 
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 17: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.