Delphi Data Types
http://docwiki.embarcadero.com/RADStudio/XE6/en/Delphi_Data_Types
Integer Data Types
| Type | Description | Pointer |
|---|---|---|
| Byte | 8-bit unsigned integer | PByte |
| ShortInt | 8-bit signed integer | PShortInt |
| Word | 16-bit unsigned integer | PWord |
| SmallInt | 16-bit signed integer | PSmallInt |
| Cardinal | 32-bit unsigned integer | PCardinal |
| LongWord | 32-bit unsigned integer | PLongWord |
| DWord | 32-bit unsigned integer | PLongWord |
| Integer | 32-bit signed integer | PInteger |
| LongInt | 32-bit signed integer | PLongint |
| UInt64 | 64-bit unsigned integer | PUInt64 |
| Int64 | 64-bit signed integer | PInt64 |
| NativeUInt | 64-bit or 32-bit platform-dependent unsigned integer | PNativeUInt |
| NativeInt | 64-bit or 32-bit platform-dependent signed integer | PNativeInt |
Floating-point Data Types
| Type | Description | Pointer | Record |
|---|---|---|---|
| Single | Single precision floating-point value (4 bytes) | PSingle | TSingleRec |
| Double | Double precision floating-point value (8 bytes) | PDouble | TDoubleRec |
| Extended | Extended precision floating-point value (10 bytes on Win32, but 8 bytes on Win64) See page about multi-device applications. |
PExtended | TExtended80Rec |
| Real | Alias of Double | N/A | N/A |
String and Character Data Types
| Type | Description | Pointer |
|---|---|---|
| AnsiChar | ANSI character | PAnsiChar |
| Char | Wide character (16-bit) | PChar |
| WideChar | 16-bit character | PWideChar |
| AnsiString | Represents a dynamically allocated ANSI string whose maximum length is limited only by available memory. | PAnsiString |
| RawByteString | Use as a "codepage-agnostic" parameter to a method or function, or as a variable type to store BLOB data. | PRawByteString |
| UnicodeString | Unicode string | PUnicodeString |
| String | Alias for UnicodeString | PString |
| ShortString | A string of maximum 255 characters | PShortString |
| WideString | A string of 16-bit characters | PWideString |
File Data Types
| Type | Description | Pointer |
|---|---|---|
| File | File descriptor | |
| TextFile, Text | Text file descriptor |
Boolean Data Types
| Type | Description | Pointer |
|---|---|---|
| Boolean | Represents a logical value (true or false). | PBoolean |
| ByteBool | Represents an 8-bit logical value. | |
| WordBool | Represents a 16-bit logical value. | PWordBool |
| LongBool | Represents a 32-bit logical value. | PLongBool |
Other Data Types
| Type | Description | Pointer |
|---|---|---|
| Array | Represents an indexed collection of elements of the same type. | |
| Record | Represents a heterogeneous set of elements. | |
| Variant | Represents values that can change type at run time. | PVariant |
| Pointer | Represents a pointer to data of any type. | PPointer |
| Currency | A fixed-point data type used to hold monetary values. | PCurrency |
Delphi Data Types的更多相关文章
- C and SQL data types for ODBC and CLI
C and SQL data types for ODBC and CLI This topic lists the C and SQL data types for ODBC and CLI a ...
- allow zero datetime=true导致datetime转换失败:MySql.Data.Types.MySqlDateTime”的对象无法转换为类型“System.Nullable`1[System.DateTime]
allow zero datetime=true导致datetime转换失败:MySql.Data.Types.MySqlDateTime”的对象无法转换为类型“System.Nullable`1[S ...
- "SQL Server does not handle comparison of NText, Text, Xml, or Image data types."
"SQL Server does not handle comparison of NText, Text, Xml, or Image data types." sql2000 ...
- ExtJS笔记 Ext.data.Types
This is a static class containing the system-supplied data types which may be given to a Field. Type ...
- Entity Framework Code First (七)空间数据类型 Spatial Data Types
声明:本文针对 EF5+, Visual Studio 2012+ 空间数据类型(Spatial Data Types)是在 EF5 中引入的,空间数据类型表现有两种: Geography (地理学上 ...
- Core Java Volume I — 3.3. Data Types
3.3. Data TypesJava is a strongly typed language(强类型语音). This means that every variable must have a ...
- MongoDB - The mongo Shell, Data Types in the mongo Shell
MongoDB BSON provides support for additional data types than JSON. Drivers provide native support fo ...
- SQL Server 2008 Data Types and Entity Framework 4
Because I’ve had a lot of conversations about spatial data types lately, I thought I would create a ...
- UserControl调用Umbraco的Data Types
本篇文章介绍的是基于Umbraco CMS技术搭建的网站所使用的相关技术. 1. 需求: 网站前台功能有个表单提交,表单控件用到下拉列表(dropdownlist),需求是在dropdownlist ...
随机推荐
- PHP校验ISBN码的函数
国际标准书号(International Standard Book Number,ISBN:拟发音is-ben),是国际通用的图书或独立的出版物(除定期出版的期刊)代码.出版社可以通过国际标准书号清 ...
- Private Bytes,Working Set,Virtual Size的区别
http://aigo.iteye.com/blog/1930209 http://stackoverflow.com/questions/1984186/what-is-private-bytes- ...
- Android随笔--使用ViewPager实现简单地图片的左右滑动切换
Android中图片的左右切换随处可见,今天我也试着查阅资料试着做了一下,挺简单的一个小Demo,却也发现了一些问题,话不多说,上代码~: 使用了3个xml文件作为ViewPager的滑动page,布 ...
- 搭建XMPP协议,实现自主推送消息到手机
关于服务器端向Android客户端的推送,主要有三种方式: 1.客户端定时去服务端取或者保持一个长Socket,从本质讲这个不叫推送,这是去服务端拽数据.但是实现简单,主要缺点:耗电等 2.Googl ...
- 【LeetCode】102 - Binary Tree Level Order Traversal
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, ...
- awk与sed简明教程
看到大牛写的关于awk和sed的简明教程,写得很好,为了尊重作者,就不全文转载了,这里标记下链接,方便以后查阅. awk简明教程:http://coolshell.cn/articles/9070.h ...
- centos6.3 安装配置redis
1.下载安装 1.1 下载包 注:在http://download.redis.io/releases查询需要下载的版本 wget http://download.redis.io/releases/ ...
- 认识Agile,Scrum和DevOps
If everything's under control you are going too slow. 当今的开发,要求faster and faster.所以我们要Agile,become Ag ...
- js中location.search、split()HTML5中localStorage
1. location.search在客户端获取Url参数的方法 location.search是从当前URL的?号开始的字符串 如:http://www.baidu.com/s?wd=baidu&a ...
- Linux_系统信息
公司里一些仿真软件得进Linux系统,好奇公司用的什么Linux版本,于是搜罗了几个命令如下: 1 uname - Print system info -a, print all info -s, ...