摘要:
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
摘要:
CharToOemBuff、OemToCharBuff 与 CharToOem、OemToChar 的区别只是前者可以指定要转换的字符数. unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; t... 阅读全文
摘要:
lstrcmp 区分大小写; lstrcmpi 不区分大小写. 返回值: -1、0、1, 其中 0 表示相同. unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 =... 阅读全文
摘要:
问题来源: 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... 阅读全文