2010年1月8日
摘要: Delphi 关键字详解---absolute//它使得你能够创建一个新变量, 并且该变量的起始地址与另一个变量相同. var Str: string[32]; StrLen: Byte absolute Str; //这个声明指定了变量StrLen起始地址与Str相同. //由于字符串的第0个位置保存了字符串的长度, 所以StrLen的值即字符串长度. begin Str := '... 阅读全文
posted @ 2010-01-08 16:27 andy2010 阅读(500) 评论(0) 推荐(0)