﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-万一的 Delphi 博客-随笔分类-&lt;span class=bt&gt;14.&lt;/span&gt;数组相关</title><link>http://www.cnblogs.com/del/category/114641.html</link><description>记录学习过程中的点点滴滴，是喜欢、不是职业；记性不好，特别需要这么一个博客。</description><language>zh-cn</language><lastBuildDate>Fri, 14 Nov 2008 07:59:18 GMT</lastBuildDate><pubDate>Fri, 14 Nov 2008 07:59:18 GMT</pubDate><ttl>60</ttl><item><title>Delphi 的内存操作函数(2): 给数组指针分配内存 </title><link>http://www.cnblogs.com/del/archive/2008/11/10/1330456.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Mon, 10 Nov 2008 03:04:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/11/10/1330456.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1330456.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/11/10/1330456.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1330456.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1330456.html</trackback:ping><description><![CDATA[摘要: 静态数组,在声明时就分配好内存了,譬如:vararr1:array[0..255]ofChar;arr2:array[0..255]ofInteger;be...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/11/10/1330456.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1330456.html?type=1" width = "1" height = "1" />]]></description></item><item><title>复制动态数组</title><link>http://www.cnblogs.com/del/archive/2008/10/14/1310583.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Tue, 14 Oct 2008 02:38:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/10/14/1310583.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1310583.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/10/14/1310583.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1310583.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1310583.html</trackback:ping><description><![CDATA[摘要: unitUnit1;interfaceusesWindows,Messages,SysUtils,Variants,Classes,Graphics,Contro...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/10/14/1310583.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1310583.html?type=1" width = "1" height = "1" />]]></description></item><item><title>数组类型与数组指针的巧妙利用 - 回复 "Delphier" 的问题</title><link>http://www.cnblogs.com/del/archive/2008/09/08/1286476.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Sun, 07 Sep 2008 17:58:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/09/08/1286476.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1286476.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/09/08/1286476.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1286476.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1286476.html</trackback:ping><description><![CDATA[摘要: 问题来源:http://www.cnblogs.com/del/archive/2008/09/07/1124919.html#1310663本例通过存取结构,慢慢引入了数组类型与指针的一...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/09/08/1286476.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1286476.html?type=1" width = "1" height = "1" />]]></description></item><item><title>多维动态数组与多维动态数组指针 - 回复 "lz_whj" 的问题 </title><link>http://www.cnblogs.com/del/archive/2008/05/28/1209070.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Wed, 28 May 2008 03:48:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/05/28/1209070.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1209070.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/05/28/1209070.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1209070.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1209070.html</trackback:ping><description><![CDATA[摘要: 问题来源:http://www.cnblogs.com/del/archive/2008/05/28/1208964.html#1211428本例效果图:unitUnit1;...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/05/28/1209070.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1209070.html?type=1" width = "1" height = "1" />]]></description></item><item><title>如何把字符串覆给数组 - 回复"刘那"</title><link>http://www.cnblogs.com/del/archive/2008/05/11/1192113.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Sun, 11 May 2008 04:31:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/05/11/1192113.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1192113.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/05/11/1192113.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1192113.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1192113.html</trackback:ping><description><![CDATA[摘要: 问题来源:http://www.cnblogs.com/del/archive/2008/05/11/1089344.html#1191871unitUnit1;interface...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/05/11/1192113.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1192113.html?type=1" width = "1" height = "1" />]]></description></item><item><title>判断一个数组的长度用 Length 还是 SizeOf ?</title><link>http://www.cnblogs.com/del/archive/2008/04/23/1168272.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Wed, 23 Apr 2008 14:26:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/04/23/1168272.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1168272.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/04/23/1168272.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1168272.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1168272.html</trackback:ping><description><![CDATA[摘要: 最近发现一些代码,甚至有一些专家代码,在遍历数组时所用的数组长度竟然是SizeOf(arr);这不合适!如果是一维数组、且元素大小是一个字节,这样用看不出错误,譬如:var...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/04/23/1168272.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1168272.html?type=1" width = "1" height = "1" />]]></description></item><item><title>关于 array of const </title><link>http://www.cnblogs.com/del/archive/2008/04/17/1158858.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Thu, 17 Apr 2008 14:03:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/04/17/1158858.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1158858.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/04/17/1158858.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1158858.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1158858.html</trackback:ping><description><![CDATA[摘要: 之前应该参考一下:关于开放数组参数//这是在System单元定义的一组标识数据类型的常量:vtInteger=0;vtBoolean=1;vtChar...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/04/17/1158858.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1158858.html?type=1" width = "1" height = "1" />]]></description></item><item><title>数组竟然可以这样定义</title><link>http://www.cnblogs.com/del/archive/2008/04/17/1158098.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Thu, 17 Apr 2008 07:01:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/04/17/1158098.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1158098.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/04/17/1158098.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1158098.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1158098.html</trackback:ping><description><![CDATA[摘要: //这是常规思路:constarr:array[0..1]ofChar=('A','B');beginShowMessage(arr);...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/04/17/1158098.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1158098.html?type=1" width = "1" height = "1" />]]></description></item><item><title>理解 Delphi 的类(十) - 深入方法[21] - 开放数组参数 </title><link>http://www.cnblogs.com/del/archive/2008/01/15/1039027.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Mon, 14 Jan 2008 16:16:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/01/15/1039027.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1039027.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/01/15/1039027.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1039027.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1039027.html</trackback:ping><description><![CDATA[摘要: //给一个整型开放数组求和的函数functionMyFun(constarr:arrayofInteger):Integer;vari:Integer;begin...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/01/15/1039027.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1039027.html?type=1" width = "1" height = "1" />]]></description></item><item><title>动态数组的释放</title><link>http://www.cnblogs.com/del/archive/2008/01/09/1031204.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Tue, 08 Jan 2008 16:51:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/01/09/1031204.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1031204.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/01/09/1031204.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1031204.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1031204.html</trackback:ping><description><![CDATA[摘要: //动态数组一般是不需要手动释放的,如果需要...vararr:arrayofInteger;begin{设置动态数组维数}SetLength(arr,10);...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/01/09/1031204.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1031204.html?type=1" width = "1" height = "1" />]]></description></item><item><title>数组与子界</title><link>http://www.cnblogs.com/del/archive/2008/01/09/1031199.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Tue, 08 Jan 2008 16:32:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/01/09/1031199.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1031199.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/01/09/1031199.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1031199.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1031199.html</trackback:ping><description><![CDATA[摘要: typeTABC='A'..'G';{定义子界}varabcArr:array[TABC]ofInteger;{定义数组}abc...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/01/09/1031199.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1031199.html?type=1" width = "1" height = "1" />]]></description></item><item><title>数组与枚举</title><link>http://www.cnblogs.com/del/archive/2008/01/09/1031196.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Tue, 08 Jan 2008 16:21:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/01/09/1031196.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1031196.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/01/09/1031196.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1031196.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1031196.html</trackback:ping><description><![CDATA[摘要: typeTMyEnum=(Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday);{定义枚举}varweekArr...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/01/09/1031196.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1031196.html?type=1" width = "1" height = "1" />]]></description></item><item><title>变体数组</title><link>http://www.cnblogs.com/del/archive/2007/12/10/989322.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Mon, 10 Dec 2007 05:21:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2007/12/10/989322.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/989322.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2007/12/10/989322.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/989322.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/989322.html</trackback:ping><description><![CDATA[摘要: varArr:array[0..3]ofVariant;beginArr[0]:=123;Arr[1]:='wy';Arr[2]:=True;...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2007/12/10/989322.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/989322.html?type=1" width = "1" height = "1" />]]></description></item><item><title>动态数组的使用</title><link>http://www.cnblogs.com/del/archive/2007/12/10/989117.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Mon, 10 Dec 2007 03:20:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2007/12/10/989117.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/989117.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2007/12/10/989117.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/989117.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/989117.html</trackback:ping><description><![CDATA[摘要: //例1:varStrArr:arrayofString;//动态数组定义时不与维数beginSetLength(StrArr,6);//分配6个元素位置:0-...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2007/12/10/989117.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/989117.html?type=1" width = "1" height = "1" />]]></description></item><item><title>静态数组的定义方法</title><link>http://www.cnblogs.com/del/archive/2007/12/10/988804.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Sun, 09 Dec 2007 18:00:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2007/12/10/988804.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/988804.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2007/12/10/988804.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/988804.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/988804.html</trackback:ping><description><![CDATA[摘要: //1.标准方法：varMyArr:array[0..10]ofInteger;//定义静态数组//2.可以使用非0下标：varMyArr:arra...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2007/12/10/988804.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/988804.html?type=1" width = "1" height = "1" />]]></description></item><item><title>给动态数组添加一个元素</title><link>http://www.cnblogs.com/del/archive/2007/12/02/980212.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Sun, 02 Dec 2007 13:16:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2007/12/02/980212.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/980212.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2007/12/02/980212.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/980212.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/980212.html</trackback:ping><description><![CDATA[摘要: typeTOneArray=arrayofInteger;procedureAddArrayItem(Arr:TOneArray;x:Integer);begin...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2007/12/02/980212.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/980212.html?type=1" width = "1" height = "1" />]]></description></item></channel></rss>