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 ...
随机推荐
- Arduino 软重启 软件reset
将12脚连接一个1K电阻,然后用电阻另一端连接RESET脚.注意不是12脚直接连接RESET!! 代码如下(要注意RESET脚为LOW时自动重启) #define PIN 12 void setup( ...
- Media Player 把光盘中的内容拷贝出来的方法
http://jingyan.baidu.com/article/cb5d610529f0c1005c2fe0b4.html 这个链接是通过Media Player 把光盘中的内容拷贝出来的方法h ...
- Free Candies
题意: 有4堆东西,每堆有n个每个有一个颜色,现在有一个篮子最多能装5个不同的颜色的东西,每次都从堆顶拿,当篮子出现两个相同颜色,可以获得这两个东西,求获得的最大数量 分析: 因为就4推,可以把各堆的 ...
- Oracle Database 11g Express Edition 使用小结(windows)
如何启动oraclewindows系统服务中有一个服务叫:[OracleService[SID]]SID是你安装oracle xe时候的实例名,如果你没有改默认的是[XE], OracleServic ...
- 图Graph
存储结构: 1.邻接矩阵存储 typedef struct { char vex[MAXVEX];//顶点数 int arc[MAXVEX][MAXVEX];//邻接矩阵 int numVextexe ...
- bzoj1013
这道题题解太多,只贴代码. #include<cstdio> #include<cmath> #include<algorithm> using namespace ...
- 【LeetCode】104 - Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the long ...
- Java正则表达式获取网页所有网址和链接文字
; pos1= urlContent.indexOf(strAreaBegin)+strAreaBegin.length(); pos2=urlContent.inde ...
- 精美&创意的WordPress新发主题集合
今天我整理了一些精美&创意的WordPress新发主题,它们基本上都融合了最新的设计理念,从简约到响应式,应有尽有. Engo – Smart & Minimal WordPress ...
- [WebService]之JWS_1
创建JWS项目步骤: 1:创建接口 2:创建实现类 3:开启服务 1:编写接口 @WebService public interface IMyService { public int add(int ...