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. linux 下按在sqllite

    1 安装 去sqlite主页http://www.sqlite.org/.跳转到下载也http://www.sqlite.org/download.html.源码下载sqlite-amalgamati ...

  2. Android彩蛋效果,微信彩蛋效果

    根据Android源码修改,具有微信彩蛋效果 主要代码 public static class Board extends FrameLayout { public static final bool ...

  3. X86调用约定

    cdecl      C语言默认的调用约定,从右往左压栈,由调用者负责清栈,所以参数个数可以不固定: stdcall    windows默认调用方式,从右往左压栈,由被调用者负责栈操作. pasca ...

  4. .net core 使用

    在本机上安装了 visual studio 2015后,还要安装 DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe 才能编译 .net core 的代码.不然 ...

  5. 全方位掌握 NSIS 的操作

    NSIS 确实是一个不错的安装程序制作软件.新版本2.0a7真正实现了中文支持和支持 WinXP 的安装对话框.不过要用它实现漂亮的安装界面和完美的安装功能就必须好好的写脚本.而 NSIS 的脚本指令 ...

  6. ansible条件使用--实践

    ansible条件使用 1.条件使用最简单的方式 ansible中使用条件最简单的方式如下所示: [root@ansibleserver kel]# cat conditions.yml --- - ...

  7. 33条C#、.Net经典面试题目及答案

    33条C#..Net经典面试题目及答案[zt] 本文集中了多条常见的C#..Net经典面试题目例如".NET中类和结构的区别"."ASP.NET页面之间传递值的几种方式? ...

  8. Eclipse + Idea + Maven + Scala + Spark +sbt

    http://jingpin.jikexueyuan.com/article/47043.html 新的scala 编译器idea使用 https://www.jetbrains.com/idea/h ...

  9. ref 参数

    当使用ref 作为参数赋值时,ref 得需要初始化,就是在从新定义一下 参数的值,下面有列子: 在控制台中运行如下: //定义一个方法,两个参数 i和a . public static void ge ...

  10. Yii 1.11 获取当前的模块名 控制器名 方法名

    $this->module->id; #模块名$this->action->id; #方法名$this->uniqueId; #控制器名称 Yii: 获取当前模块名.控制 ...