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 ...
随机推荐
- ios iPhone的一些基础知识,扫盲
iPhone 4(2010 年):初始系统: iOS 4.0(GSM 版) (苹果第一次采用 iOS 为移动系统命名),iOS 4.2.2(CDMA 版)可以升级至:iOS 7.1.2 iPhone ...
- objective-C 中两种实现动画的方法
第一种方法: [UIView beginAnimations:@"Curl"context:nil];//动画开始 [UIView setAnimationDuration:1.2 ...
- PHP中设置、使用、删除Cookie方法
1.设置Cookie PHP用SetCookie函数来设置Cookie.必须注意的一点是:Cookie是HTTP协议头的一部分,用于浏览器和服务器之间传递信息,所以必须在任何属于HTML文件本身的内容 ...
- 百度地图Api详解之地图标注
标注概述 标注(Marker)是用来表示一个点位置的可见元素,每个标注自身都包含地理信息.比如你在西单商场位置添加了一个标注,不论地图移动.缩放,标注都会跟随一起移动,保证其始终指向正确的地理位置. ...
- Javascript 中的小括号 “()” 的多义性
Javascript 中小括号有5 种语义 语义1:函数声明时参数表 1 function func(arg1, arg2){ 2 // ... 3 } 语义2:和一些语句联合使用以 ...
- ASP.NET MVC Razor视图引擎攻略
--引子 看下面一段MVC 2.0的代码. <%if (Model != null){%> <p><%=Model%></p><%}%>&l ...
- focus与定位
<html> <head> <script type="text/javascript" src="/jquery/jquery.js&qu ...
- MVC5 - ASP.NET Identity登录原理 - Claims-based认证和OWIN -摘自网络
在Membership系列的最后一篇引入了ASP.NET Identity,看到大家对它还是挺感兴趣的,于是来一篇详解登录原理的文章.本文会涉及到Claims-based(基于声明)的认证,我们会详细 ...
- SQL时间第二期_时间格式化
0 或 100 (*) 默认值 mon dd yyyy hh:miAM(或 PM) 1 101 美国 mm/dd/yyyy ...
- 阿里云存储OSS之九大使用技巧
http://www.biphp.com/cloud-computing/%E9%98%BF%E9%87%8C%E4%BA%91%E5%AD%98%E5%82%A8oss%E4%B9%8B%E4%B9 ...