Difference between revisions of "Standard type"
From Lazarus wiki
Jump to navigationJump to searchm |
|||
Line 2: | Line 2: | ||
'''english'''</small> | '''english'''</small> | ||
− | There are certain [[data type]]s 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: | + | There are certain [[data type]]s 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]], 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]] or [[false]] | + | *[[boolean]] - [[True|true]] or [[False|false]] |
− | *[[char]] - Character | + | *[[Char|char]] - Character |
− | *[[real]] - Numbers with decimal points or exponents | + | *[[Real|real]] - Numbers with decimal points or exponents |
− | *[[integer]] - Whole numbers | + | *[[Integer|integer]] - Whole numbers |
*[[set]] - A group of values | *[[set]] - A group of values | ||
Line 13: | Line 13: | ||
*[[object]] - used to declare object types | *[[object]] - used to declare object types | ||
− | *[[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]]. |
Revision as of 12:16, 10 January 2007
italiano(it) english
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:
- boolean - true or false
- char - Character
- real - Numbers with decimal points or exponents
- integer - Whole numbers
- set - A group of values
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.