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  
TextFileText 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的更多相关文章

  1. 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 ...

  2. 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 ...

  3. "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 ...

  4. ExtJS笔记 Ext.data.Types

    This is a static class containing the system-supplied data types which may be given to a Field. Type ...

  5. Entity Framework Code First (七)空间数据类型 Spatial Data Types

    声明:本文针对 EF5+, Visual Studio 2012+ 空间数据类型(Spatial Data Types)是在 EF5 中引入的,空间数据类型表现有两种: Geography (地理学上 ...

  6. 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 ...

  7. 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 ...

  8. 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 ...

  9. UserControl调用Umbraco的Data Types

    本篇文章介绍的是基于Umbraco CMS技术搭建的网站所使用的相关技术. 1.  需求: 网站前台功能有个表单提交,表单控件用到下拉列表(dropdownlist),需求是在dropdownlist ...

随机推荐

  1. Android Ant批量打包

    一.配置Ant环境变量 JAVA_HOME=/software/jdk1.6.0_24 ANT_HOME=/software/apache-ant-1.9.2 Android_Home=/softwa ...

  2. J2EE事务

    一.J2EE 事务处理方式 1. 本地事务:紧密依赖于底层资源管理器(例如数据库连接 ),事务处理局限在当前事务资源内.此种事务处理方式不存在对应用服务器的依赖,因而部署灵活却无法支持多数据源的分布式 ...

  3. 利用 Ant 和 Eclipse 有效地提高部署工作效率

    读者定位为具有 Java 和 Ant 使用经验的开发人员. 读者可以学习到如何使用 Ant 解决一些多用户开发环境中,根据不同的目标环境编译成不同部署包的问题. 工作场景 现在有一个 web 项目,是 ...

  4. [C#搜片神器] 之P2P中DHT网络爬虫原理

    继续接着上一篇写:使用C#实现DHT磁力搜索的BT种子后端管理程序+数据库设计(开源)[搜片神器] 昨天由于开源的时候没有注意运行环境,直接没有考虑下载BT种子文件时生成子文件夹,可能导致有的朋友运行 ...

  5. HTML5中DOM元素的querySelector/querySelectorAll的工作机制

    在HTML5中,提供了强大的DOM元素选择API querySelector/querySelectorAll,允许使用JavaScript代码来完成类似CSS选择器的DOM元素选择功能.通常情况下, ...

  6. VC6兼容性及打开文件崩溃问题解决

    VC6虽然老,但是一些工程还非得用它打开,没办法…… 今天偶然用到,因为新装了系统,之前的问题又要重新解决一遍 在这记录下解决过程,方便以后查阅: 一.兼容问题: XP以上windows系统打开VC6 ...

  7. 数往知来 AJAX Ajax增删改查<十九>

    =================================================客户端================================================ ...

  8. HTML5新增属性

    [sourcecode language="plain"] <!DOCTYPE html> <html manifest="cache.manifest ...

  9. Fedora20 和ubuntu 14.04 chrome标签中文乱码

    作为两个流行的桌面发行版本,Fedora和ubuntu最新版本都存在chrome标签中文乱码问题. 下面是解决办法,都来自百度贴吧. 1.ubuntu 系列: 解决办法就是: 编辑/etc/fonts ...

  10. 【转】 Linux Shell 命令--rename

    重命名文件,经常用到mv命令,批量重命名文件rename是最好的选择,Linux的rename 命令有两个版本,一个是C语言版本的,一个是Perl语言版本的,判断方法:输入man rename 看到第 ...