delphi常用函数

delphi编程里的bool跟boolean类型有什么区别
摘要: bool是LongBool类型。Delphi中定义了四种布尔类型:Boolean,ByteBool,WordBool和LongBool。后面三种布尔类型是为了与其他语言兼容而引入的,一般情况下建议使用Boolean类型。这四种类型的布尔值占用内存的数量如下:Boolean 1 ByteByteBool 1 ByteWordBool 2 Bytes(1 Word)LongBool 4 Bytes(2...阅读全文

posted @ 2010-02-18 21:58 猪悟能 阅读(576) | 评论 (0) 编辑

fillchar
摘要: 内存块赋值函数。  定义:Procedure FillChar ( Var X; Count : Longint; Value : Char or Byte);  意为:对一个Char类型的数组X进行Count次赋值,当Value为Char类型时,直接赋值;若Value为Byte类型时,将Value作为AscII赋值给每个单元。  被引申为:对一个内存块,每8个二进制位赋值Value,赋值Coun...阅读全文

posted @ 2010-02-18 16:14 猪悟能 阅读(54) | 评论 (0) 编辑

公告

导航

统计