Sign in Join
Wiki copytemporary

Standard type: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Standard type

OldNewLine
1+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:
2+
3+- [[Boolean|boolean]] - [[True|true]] or [[False|false]]
4+- [[Char|char]] - Character
5+- [[Real|real]] - Numbers with decimal points or exponents
6+- [[Integer|integer]] - Whole numbers
7+- [[Set|set]] - A group of values
8+
9+Additional standard types which are defined by more advanced compilers include:
10+
11+- [[Object|object]] - used to declare object types
12+- [[String|string]] - used to declare strings which are handled automatically by the compiler and [[RTL|run-time library]].
13+
14+---
15+*From the Free Pascal wiki, page "Standard type", as it stood on 2016-03-23 after a change by Arent, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
16+Category: Pascal

Back to history