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 ...
随机推荐
- 纠结的ARC
xcode不断进步,在xcode4中引入了ARC的概念.您用或者不用它就在那里,于是有了本文:如何在未使用arc的工程中引入一个使用了arc特性的文件,如何在arc工程中引用未使用arc的文件.其实说 ...
- ACE的 日志
http://wenku.baidu.com/link?url=dK6j9_0pICRjxWW7usBlkCxPTa8zFSPyUe_uWAkwMPFDU4ip_tEfxpOitxjkl3RuPy3D ...
- [Everyday Mathematics]20150218
设 $A,B$ 是 $n$ 阶复方阵, 适合 $$\bex A^2B+BA^2=2ABA. \eex$$ 试证: 存在 $k\in\bbZ^+$, 使得 $(AB-BA)^k=0$.
- Android 动画深入解析
http://blog.csdn.net/rain_butterfly/article/details/39642613
- testng之listener
这周在给人培训selenium+testng框架时,讲到listener这块发现对listener并没有完全了解,于是自己又重新学习了下. 以下是 TestNG 提供的几种监听器: IAnnotati ...
- dzzoffice应用如何安装
在dzz应用市场中,进入到每个应用的详细介绍页面.里面有对于每个应用或者主题的安装说明. dzz应用市场:http://dev.dzzoffice.com/index.php?mod=dzzmarke ...
- 高手就用Chrome不安全模式
背景:最近玩CSS3和HTML玩得不可开交. 既然要用浏览器的话,就最好在浏览器中设置一个主页,以前徒简洁就一直用百度的搜索页做主页,但是现在百度邪恶的各种广告实在让我恶心,而且一些文献资料中国网站上 ...
- Python的OO思想
想当年大二的时候,在学校学习Java, 最牛逼的OO思想,用了3页纸就讲完了,还是清华大学出版社的呢. 后来全凭自己啃视频,啃代码才搞懂什么叫做OO. 现在学习Python,就用自己的方式,好好学习一 ...
- c#中格式化导出Excel数据
在项目开发过程中经常会遇到数据导出Excel.如果只是导出数据就好办了.但往往用户会有各种格式要求.加粗.边框.合并单元格.汇总等功能. 以下的方法是基于Excel模版方式写入数据导出的功能.可以最大 ...
- SpringMVC + Spring + MyBatis 学习笔记:在类和方法上都使用RequestMapping如何访问
系统:WIN8.1 数据库:Oracle 11GR2 开发工具:MyEclipse 8.6 框架:Spring3.2.9.SpringMVC3.2.9.MyBatis3.2.8 先看代码: @Requ ...