摘要: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
posted @ 2008-11-06 20:26 万一 阅读(4557) 评论(1) 推荐(0) 编辑
摘要: CharToOemBuff、OemToCharBuff 与 CharToOem、OemToChar 的区别只是前者可以指定要转换的字符数. unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; t... 阅读全文
posted @ 2008-11-06 19:51 万一 阅读(3599) 评论(3) 推荐(0) 编辑
摘要: lstrcmp 区分大小写; lstrcmpi 不区分大小写. 返回值: -1、0、1, 其中 0 表示相同. unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 =... 阅读全文
posted @ 2008-11-06 18:46 万一 阅读(5950) 评论(0) 推荐(1) 编辑
摘要: 问题来源: http://www.cnblogs.com/del/archive/2008/11/06/1327312.html#1362524 var n1,n2,n3,n4,n5: Word; begin n1 := Ord('万'); n2 := Cardinal('万'); n3 := Integer('万'); n4 := Word('万'); n5 := L... 阅读全文
posted @ 2008-11-06 16:35 万一 阅读(2280) 评论(4) 推荐(0) 编辑