1最牛的程序员用KOL,我整理的KOL基本函数KOL 常用函数函数
  2最牛的程序员用KOL,我整理的KOL基本函数kol.pas
  3最牛的程序员用KOL,我整理的KOL基本函数//绝对值函数
  4最牛的程序员用KOL,我整理的KOL基本函数function Abs( X: Integer ): Integer;
  5最牛的程序员用KOL,我整理的KOL基本函数//64位加法
  6最牛的程序员用KOL,我整理的KOL基本函数function Add64( const X, Y: I64 ): I64;
  7最牛的程序员用KOL,我整理的KOL基本函数//内存分配函数
  8最牛的程序员用KOL,我整理的KOL基本函数function AllocMem( Size : Integer ) : Pointer;
  9最牛的程序员用KOL,我整理的KOL基本函数//Ansi字符串比较
 10最牛的程序员用KOL,我整理的KOL基本函数function AnsiCompareStr(const S1, S2: KOLString): Integer;
 11最牛的程序员用KOL,我整理的KOL基本函数//不区分大小写Ansi字符串比较
 12最牛的程序员用KOL,我整理的KOL基本函数function AnsiCompareStrNoCase(const S1, S2: KOLString): Integer;
 13最牛的程序员用KOL,我整理的KOL基本函数//比较文本
 14最牛的程序员用KOL,我整理的KOL基本函数function AnsiCompareText( const S1, S2: AnsiString ): Integer;
 15最牛的程序员用KOL,我整理的KOL基本函数// 比较Ansi字符串是否相等
 16最牛的程序员用KOL,我整理的KOL基本函数function AnsiEq( const S1, S2 : AnsiString ) : Boolean;
 17最牛的程序员用KOL,我整理的KOL基本函数//转换字符串为小写
 18最牛的程序员用KOL,我整理的KOL基本函数function AnsiLowerCase(const S: Ansistring): Ansistring;
 19最牛的程序员用KOL,我整理的KOL基本函数//转换字符串为大写
 20最牛的程序员用KOL,我整理的KOL基本函数function AnsiUpperCase(const S: Ansistring): Ansistring;
 21最牛的程序员用KOL,我整理的KOL基本函数//二进制转换为十进制
 22最牛的程序员用KOL,我整理的KOL基本函数function Binary2Int( const Value: AnsiString ) : Integer;
 23最牛的程序员用KOL,我整理的KOL基本函数//十六进制转十进制
 24最牛的程序员用KOL,我整理的KOL基本函数function cHex2Int( const Value : AnsiString) : Integer;
 25最牛的程序员用KOL,我整理的KOL基本函数//TColor转换为Color15
 26最牛的程序员用KOL,我整理的KOL基本函数function Color2Color15( Color: TColor ): WORD;
 27最牛的程序员用KOL,我整理的KOL基本函数// TColor转换为Color16
 28最牛的程序员用KOL,我整理的KOL基本函数function Color2Color16( Color: TColor ): WORD;
 29最牛的程序员用KOL,我整理的KOL基本函数// Color转RGB
 30最牛的程序员用KOL,我整理的KOL基本函数function Color2RGB( Color: TColor ): TColor;
 31最牛的程序员用KOL,我整理的KOL基本函数//混合两种Tcolor颜色
 32最牛的程序员用KOL,我整理的KOL基本函数function ColorsMix( Color1, Color2: TColor ): TColor;
 33最牛的程序员用KOL,我整理的KOL基本函数//截取字符串尾部的Len长度的字符串
 34最牛的程序员用KOL,我整理的KOL基本函数function CopyTail( const S : KOLString; Len : Integer ) : KOLString;
 35最牛的程序员用KOL,我整理的KOL基本函数//获取当前日期
 36最牛的程序员用KOL,我整理的KOL基本函数function Date: TDateTime;
 37最牛的程序员用KOL,我整理的KOL基本函数//格式化的日期格式
 38最牛的程序员用KOL,我整理的KOL基本函数function Date2StrFmt( const Fmt: KOLString; D: TDateTime ): KOLString;
 39最牛的程序员用KOL,我整理的KOL基本函数//日期时间,短格式
 40最牛的程序员用KOL,我整理的KOL基本函数function DateTime2StrShort( D: TDateTime ): AnsiString;
 41最牛的程序员用KOL,我整理的KOL基本函数//返回是一周的第几天
 42最牛的程序员用KOL,我整理的KOL基本函数function DayOfWeek(Date: TDateTime): Integer;
 43最牛的程序员用KOL,我整理的KOL基本函数// Double转Int64
 44最牛的程序员用KOL,我整理的KOL基本函数function Double2Int64( D: Double ): I64;
 45最牛的程序员用KOL,我整理的KOL基本函数// Double转Str
 46最牛的程序员用KOL,我整理的KOL基本函数function Double2Str( D: Double ): AnsiString;
 47最牛的程序员用KOL,我整理的KOL基本函数// Extended转Str
 48最牛的程序员用KOL,我整理的KOL基本函数function Extended2Str( E: Extended ): AnsiString;
 49最牛的程序员用KOL,我整理的KOL基本函数// Format函数
 50最牛的程序员用KOL,我整理的KOL基本函数function Format( const fmt: KOLString; params: Array of const ): KOLString;
 51最牛的程序员用KOL,我整理的KOL基本函数//取得文件夹下面的文件,返回StrList列表
 52最牛的程序员用KOL,我整理的KOL基本函数function GetFileList(const dir: Ansistring): PStrList;
 53最牛的程序员用KOL,我整理的KOL基本函数//取得文件夹下面的文件,Fmask指定要取得的扩展名,返回StrList列表
 54最牛的程序员用KOL,我整理的KOL基本函数function GetFileListStr(FPath{e.g.'c:\tmp\'}, FMask{e.g.'*.*'}: KOLString): KOLString;
 55最牛的程序员用KOL,我整理的KOL基本函数//得到临时文件夹的位置
 56最牛的程序员用KOL,我整理的KOL基本函数function GetTempDir : KOLString;
 57最牛的程序员用KOL,我整理的KOL基本函数//取得桌面工作区大小
 58最牛的程序员用KOL,我整理的KOL基本函数function GetWorkArea: TRect;
 59最牛的程序员用KOL,我整理的KOL基本函数// Hex转Int
 60最牛的程序员用KOL,我整理的KOL基本函数function Hex2Int( const Value : AnsiString) : Integer;
 61最牛的程序员用KOL,我整理的KOL基本函数//十进制转二进制
 62最牛的程序员用KOL,我整理的KOL基本函数function Int2Digs( Value, Digits : Integer ) : AnsiString;
 63最牛的程序员用KOL,我整理的KOL基本函数//十进制转十六进制
 64最牛的程序员用KOL,我整理的KOL基本函数function Int2Hex( Value : DWord; Digits : Integer ) : AnsiString;
 65最牛的程序员用KOL,我整理的KOL基本函数// Int扩展成Int64
 66最牛的程序员用KOL,我整理的KOL基本函数function Int2Int64( X: Integer ): I64;
 67最牛的程序员用KOL,我整理的KOL基本函数// Int转PChar
 68最牛的程序员用KOL,我整理的KOL基本函数procedure Int2PChar( s: PAnsiChar; Value: Integer );
 69最牛的程序员用KOL,我整理的KOL基本函数// 十进制转罗马字符
 70最牛的程序员用KOL,我整理的KOL基本函数function Int2Rome( Value: Integer ): AnsiString;
 71最牛的程序员用KOL,我整理的KOL基本函数//十进制转字符串
 72最牛的程序员用KOL,我整理的KOL基本函数function Int2Str( Value : Integer ) : AnsiString;
 73最牛的程序员用KOL,我整理的KOL基本函数//十进制转字符串
 74最牛的程序员用KOL,我整理的KOL基本函数function Int2StrEx( Value, MinWidth: Integer ): AnsiString;
 75最牛的程序员用KOL,我整理的KOL基本函数// Int64转Double
 76最牛的程序员用KOL,我整理的KOL基本函数function Int64_2Double( const X: I64 ): Double;
 77最牛的程序员用KOL,我整理的KOL基本函数//Int64转十六进制
 78最牛的程序员用KOL,我整理的KOL基本函数function Int64_2Hex( X: I64; MinDigits: Integer ): AnsiString;
 79最牛的程序员用KOL,我整理的KOL基本函数//Int64转str
 80最牛的程序员用KOL,我整理的KOL基本函数function Int64_2Str( X: I64 ): AnsiString;
 81最牛的程序员用KOL,我整理的KOL基本函数//构造Int64
 82最牛的程序员用KOL,我整理的KOL基本函数function MakeInt64( Lo, Hi: DWORD ): I64;
 83最牛的程序员用KOL,我整理的KOL基本函数//构造一个Point
 84最牛的程序员用KOL,我整理的KOL基本函数function MakePoint( X, Y: Integer ): TPoint;
 85最牛的程序员用KOL,我整理的KOL基本函数//构造Rect
 86最牛的程序员用KOL,我整理的KOL基本函数function MakeRect( Left, Top, Right, Bottom: Integer ): TRect; stdcall;
 87最牛的程序员用KOL,我整理的KOL基本函数// 构造SmallPoint
 88最牛的程序员用KOL,我整理的KOL基本函数function MakeSmallPoint( X, Y: Integer ): TSmallPoint;
 89最牛的程序员用KOL,我整理的KOL基本函数//Max函数
 90最牛的程序员用KOL,我整理的KOL基本函数function Max( X, Y: Integer ): Integer;
 91最牛的程序员用KOL,我整理的KOL基本函数//Min函数
 92最牛的程序员用KOL,我整理的KOL基本函数function Min( X, Y: Integer ): Integer;
 93最牛的程序员用KOL,我整理的KOL基本函数//对话框MsgBox函数
 94最牛的程序员用KOL,我整理的KOL基本函数function MsgBox( const S: KOLString; Flags: DWORD ): DWORD;
 95最牛的程序员用KOL,我整理的KOL基本函数// MsgOK对话框函数
 96最牛的程序员用KOL,我整理的KOL基本函数procedure MsgOK( const S: KOLString );
 97最牛的程序员用KOL,我整理的KOL基本函数//AnsiChar转Int
 98最牛的程序员用KOL,我整理的KOL基本函数function S2Int( S: PAnsiChar ): Integer;
 99最牛的程序员用KOL,我整理的KOL基本函数//对话框ShowMessage函数
100最牛的程序员用KOL,我整理的KOL基本函数procedure ShowMessage( const S: KOLString );
101最牛的程序员用KOL,我整理的KOL基本函数//对话框ShowMessage函数
102最牛的程序员用KOL,我整理的KOL基本函数function ShowMsg( const S: KOLString; Flags: DWORD ): DWORD;
103最牛的程序员用KOL,我整理的KOL基本函数// Str转DateTimeFmt函数
104最牛的程序员用KOL,我整理的KOL基本函数function Str2DateTimeFmt( const sFmtStr, sS: KOLString ): TDateTime;
105最牛的程序员用KOL,我整理的KOL基本函数// Str转DateTime
106最牛的程序员用KOL,我整理的KOL基本函数function Str2DateTimeShort( const S: KOLString ): TDateTime;
107最牛的程序员用KOL,我整理的KOL基本函数// Str转Double
108最牛的程序员用KOL,我整理的KOL基本函数function Str2Double( const S: AnsiString ): Double;
109最牛的程序员用KOL,我整理的KOL基本函数// Str转Extended
110最牛的程序员用KOL,我整理的KOL基本函数function Str2Extended( const S: AnsiString ): Extended;
111最牛的程序员用KOL,我整理的KOL基本函数// Str保存到File
112最牛的程序员用KOL,我整理的KOL基本函数function Str2File( Filename: PKOLChar; Str: PAnsiChar ): Boolean;
113最牛的程序员用KOL,我整理的KOL基本函数// Str转Int
114最牛的程序员用KOL,我整理的KOL基本函数function Str2Int(const Value : AnsiString) : Integer;
115最牛的程序员用KOL,我整理的KOL基本函数// Str转Int64
116最牛的程序员用KOL,我整理的KOL基本函数function Str2Int64( const S: AnsiString ): I64;
117最牛的程序员用KOL,我整理的KOL基本函数// StrCat
118最牛的程序员用KOL,我整理的KOL基本函数function StrCat( Dest, Source: PAnsiChar ): PAnsiChar;
119最牛的程序员用KOL,我整理的KOL基本函数// StrComp
120最牛的程序员用KOL,我整理的KOL基本函数function StrComp(const Str1, Str2: PAnsiChar): Integer; assembler;
121最牛的程序员用KOL,我整理的KOL基本函数// StrComp_NoCase不区分大小写
122最牛的程序员用KOL,我整理的KOL基本函数function StrComp_NoCase(const Str1, Str2: PAnsiChar): Integer;
123最牛的程序员用KOL,我整理的KOL基本函数//字符串复制
124最牛的程序员用KOL,我整理的KOL基本函数function StrCopy( Dest, Source: PAnsiChar ): PAnsiChar; assembler;
125最牛的程序员用KOL,我整理的KOL基本函数//字符串相等比较
126最牛的程序员用KOL,我整理的KOL基本函数function StrEq( const S1, S2 : AnsiString ) : Boolean;
127最牛的程序员用KOL,我整理的KOL基本函数//返回字符串长度
128最牛的程序员用KOL,我整理的KOL基本函数function StrLen(const Str: PAnsiChar): Cardinal; assembler;
129最牛的程序员用KOL,我整理的KOL基本函数//Pchar复制
130最牛的程序员用KOL,我整理的KOL基本函数function StrPCopy(Dest: PAnsiChar; const Source: Ansistring): PAnsiChar;
131最牛的程序员用KOL,我整理的KOL基本函数// StrReplace字符串替换函数
132最牛的程序员用KOL,我整理的KOL基本函数function StrReplace( var S: AnsiString; const From, ReplTo: AnsiString ): Boolean;
133最牛的程序员用KOL,我整理的KOL基本函数//系统时间转字符串函数
134最牛的程序员用KOL,我整理的KOL基本函数function SystemTime2Str( const SystemTime : TSystemTime; const LocaleID : DWORD;                         const Flags : TTimeFormatFlags; const TimeFormat : PKOLChar ) : KOLString;
135最牛的程序员用KOL,我整理的KOL基本函数//文本复制到剪贴板
136最牛的程序员用KOL,我整理的KOL基本函数function Text2Clipboard( const S: AnsiString ): Boolean;
137最牛的程序员用KOL,我整理的KOL基本函数//时间转字符串
138最牛的程序员用KOL,我整理的KOL基本函数function Time2StrFmt( const Fmt: KOLString; D: TDateTime ): KOLString;
139最牛的程序员用KOL,我整理的KOL基本函数//字符串去除空格函数
140最牛的程序员用KOL,我整理的KOL基本函数function Trim( const S : KOLString): KOLString;
141最牛的程序员用KOL,我整理的KOL基本函数//转换大写
142最牛的程序员用KOL,我整理的KOL基本函数function UpperCase(const S: Ansistring): Ansistring;
143最牛的程序员用KOL,我整理的KOL基本函数// UTF8转WideString
144最牛的程序员用KOL,我整理的KOL基本函数function UTF8_2WideString( const s: AnsiString ): WideString;
145最牛的程序员用KOL,我整理的KOL基本函数
146最牛的程序员用KOL,我整理的KOL基本函数mirror.pas
147最牛的程序员用KOL,我整理的KOL基本函数//Bool转Str
148最牛的程序员用KOL,我整理的KOL基本函数function Bool2Str( const S: String ): String;
149最牛的程序员用KOL,我整理的KOL基本函数//TColor转Str
150最牛的程序员用KOL,我整理的KOL基本函数function Color2Str( Color: TColor ): String;
151最牛的程序员用KOL,我整理的KOL基本函数

相关文章:

  • 2021-10-07
  • 2021-04-09
  • 2021-06-05
  • 2021-06-17
  • 2021-05-29
  • 2021-04-02
  • 2021-08-23
  • 2021-07-25
猜你喜欢
  • 2022-02-14
  • 2022-12-23
  • 2022-12-23
  • 2021-05-10
  • 2021-08-28
  • 2021-05-29
  • 2021-12-19
相关资源
相似解决方案