亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? xprocs.pas

?? 發(fā)票打印程序源碼
?? PAS
?? 第 1 頁 / 共 3 頁
字號(hào):
{*******************************************************}
{                                                       }
{       xTool - Component Collection                    }
{                                                       }
{       Copyright (c) 1995 Stefan B鰐her                }
{                            stefc@fabula.com           }
{*******************************************************}
{
  Please look also for our xTools-Nails function toolkit.
  You'll find more information at
     http://ourworld.compuserve.com/homepages/stefc/xprocs.htm

  Any comments and suggestions are welcome; please send to:
     stefc@fabula.com.

   21.02.96  added TMonth & TDay type                                Stefc
   22.02.96  added strFileLoad & strFileSave                         Stefc
   09.03.96  correct sysTempPath                                     Stefc
   09.03.96  added regXXXXX functions for access the registry        Stefc
   24.03.96  added IsWinNT constant                                  Stefc
   24.03.96  added SysMetric object                                  Stefc
   26.03.96  added dateQuicken for controling date input with keys   Stefc
   27.03.96  added TDesktopCanvas here                               Stefc
   28.03.96  added LoadDIBitmap                                      Stefc
   01.04.96  added Question function here                            Stefc
   09.04.96  added sysSaverRunning added                             Stefc
   12.04.96  added timeZoneOffset                                    Stefc
   12.04.96  added timeToInt                                         Stefc
   17.04.96  added strCmdLine                                        Stefc
   17.04.96  added rectBounds                                        Stefc
   17.04.96  added TPersistentRect class                             Stefc
   19.04.96  added strDebug method                                   Stefc
   21.04.96  changed TMonth added noneMonth                          km
   21.04.96  added licence callback                                  Stefc
   21.04.96  added strNiceDateDefault                                km
   21.04.96  added simple strEncrpyt & strDecrypt                    Stefc
   24.04.96  backport to 16 bit                                      Stefc
   24.04.96  added Information method                                Stefc
   24.04.96  use win messageBox with Win95 in Question & Information Stefc
   09.05.96  new function ExtractName                                Stefc
   10.05.96  Added TPersistentRegistry                               Stefc
   12.05.96  fileExec                                                Stefc
   14.05.96  New function Confirmation                               Stefc
   16.05.96  New function strChange                                  Stefc
   29.05.96  New functions comXXXXX                                  Stefc
   09.06.96  New function strSearchReplace                           km
   09.06.96  ported assembler strHash to plain pascal                Stefc
   15.06.96  new variables xLanguage & xLangOfs                      Stefc
   28.06.96  new method sysBeep                                      Stefc
   28.06.96  new method intPercent                                   Stefc
   10.07.96  make compatible with 16 Bit Delphi 1.0                  Stefc
   14.07.96  fileLongName & fileShortName defined                    Stefc
   15.07.96  Correct sysTempPath method                              Stefc
   21.07.96  New functions strContains & strContainsU                Stefc
   28.07.96  comIsCServe also check for xxx@compuServe.com           Stefc
   31.07.96  added strCapitalize after idea from Fred N. Read        Stefc
   04.08.96  strByteSize() now can also display Bytes                Stefc
   05.08.96  added regWriteShellExt()                                Stefc
   06.08.96  added sysColorDepth()                                   Stefc
   07.08.96  added strSoundex()                                      Stefc
   09.08.96  fixe some bugs in fileShellXXXX                         Stefc
   26.08.96  Added registry functions from David W. Yutzy            Stefc
   29.08.96  fileShellXXX now also aviable under 16 Bit              Stefc
   05.09.96  Added regDelValue                                       Stefc
   13.09.96  Added fltNegativ and fltPositiv                         Stefc
   29.09.96  Added strTokenToStrings & strTokenFromStrings           Stefc
   09.10.96  Added variant function                                  Stefc
   29.10.96  intPrime now can be used for negative numbers           Stefc
   29.10.96  fltEqualZero now returns true with FLTZERO              Stefc
   29.10.96  fltCalc now use Float for greater precision             Stefc
   29.10.96  correct strTokenCount                                   Stefc
   19.11.96  better Windows NT detecting                             Stefc
   28.11.96  correct above text (thanks to Clay Kollenborn-Shannon)  Stefc
   12.01.96  added fileCopy function                                 Stefc
   13.01.96  correct strProfile now it works also for 16-Bit         Stefc
   13.01.96  get English Quicken keys from George Boomer             Stefc
   14.01.96  make key in dateQuicken var to reset if on date change  Stefc
   17.01.96  New functions strPos and strChangeU                     Stefc
   19.01.96  new function fileTypeName after idea of P.Aschenbacher  Stefc
   19.01.96  new function fileRedirectExec                           Stefc

}
unit xProcs;

{$D-}

interface

{.$DEFINE German}
{.$DEFINE English}

uses
 {$IFDEF Win32} Windows, Registry, {$ELSE} WinTypes, WinProcs, {$ENDIF}
  ShellAPI, Messages, Classes, Graphics;

type
  Float = Extended;    { our type for float arithmetic }

 {$IFDEF Win32}        { our type for integer functions, Int_ is ever 32 bit }
  Int_  = Integer;
 {$ELSE}
  Int_  = Longint;
 {$ENDIF}

const
  XCOMPANY        = 'Fabula Software';

const
  { several important ASCII codes }
  NULL            =  #0;
  BACKSPACE       =  #8;
  TAB             =  #9;
  LF              = #10;
  CR              = #13;
  EOF_            = #26;    { 30.07.96 sb }
  ESC             = #27;
  BLANK           = #32;
  SPACE           = BLANK;

  { digits as chars }
  ZERO   = '0';  ONE  = '1';  TWO    = '2';  THREE  = '3';  FOUR  = '4';
  FIVE   = '5';  SIX  = '6';  SEVEN  = '7';  EIGHT  = '8';  NINE  = '9';

  { special codes }
  SLASH           = '\';     { used in filenames }
  HEX_PREFIX      = '$';     { prefix for hexnumbers }

  CRLF            : PChar = CR+LF;

  { common computer sizes }
  KBYTE           = Sizeof(Byte) shl 10;
  MBYTE           = KBYTE        shl 10;
  GBYTE           = MBYTE        shl 10;

  { Low floating point value }
  FLTZERO         : Float = 0.00000001;

  DIGITS          : set of Char = [ZERO..NINE];

  { important registry keys / items }
  REG_CURRENT_VERSION = 'Software\Microsoft\Windows\CurrentVersion';
  REG_CURRENT_USER    = 'RegisteredOwner';
  REG_CURRENT_COMPANY = 'RegisteredOrganization';

  PRIME_16       = 65521;
  PRIME_32       = 2147483647;

  MINSHORTINT    = -128;               { 1.8.96 sb }
  MAXSHORTINT    =  127;
  MINBYTE        =  0;
  MAXBYTE        =  255;
  MINWORD        =  0;
  MAXWORD        =  65535;

type
  TMonth        = (NoneMonth,January,February,March,April,May,June,July,
                   August,September,October,November,December);

  TDayOfWeek    = (Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday);

  { Online eMail Service Provider }
  TMailProvider = (mpCServe, mpInternet, mpNone);

  TLicCallback  = function ( var Code: Integer): Integer;

  TBit          = 0..31;

  { Search and Replace options }
  TSROption     = (srWord,srCase,srAll);
  TSROptions    = set of TsrOption;

  { Data types }
  TDataType     = (dtInteger,dtBoolean,dtString,dtDate,dtTime,
                   dtFloat,dtCurrency);

var
  IsWin95,
  IsWinNT   : Boolean;
  IsFabula  : TLicCallBack;

  xLanguage : Integer;
  xLangOfs  : Integer;

{ bit manipulating }
function bitSet(const Value: Int_; const TheBit: TBit): Boolean;
function bitOn(const Value: Int_; const TheBit: TBit): Int_;
function bitOff(const Value: Int_; const TheBit: TBit): Int_;
function bitToggle(const Value: Int_; const TheBit: TBit): Int_;

{ String functions }
function  strHash(const S: String; LastBucket: Integer): Integer;
function  strCut(const S: String; Len: Integer): String;
function  strTrim(const S: String): String;
function  strTrimA(const S: String): String;
function  strTrimChA(const S: String; C: Char): String;
function  strTrimChL(const S: String; C: Char): String;
function  strTrimChR(const S: String; C: Char): String;
function  strLeft(const S: String; Len: Integer): String;
function  strLower(const S: String): String;
function  strMake(C: Char; Len: Integer): String;
function  strPadChL(const S: String; C: Char; Len: Integer): String;
function  strPadChR(const S: String; C: Char; Len: Integer): String;
function  strPadChC(const S: String; C: Char; Len: Integer): String;
function  strPadL(const S: String; Len: Integer): String;
function  strPadR(const S: String; Len: Integer): String;
function  strPadC(const S: String; Len: Integer): String;
function  strPadZeroL(const S: String; Len: Integer): String;
function  strPos(const aSubstr,S: String; aOfs: Integer): Integer;
procedure strChange(var S:String; const Src, Dest: String);
function  strChangeU(const S,Source, Dest: String): String;
function  strRight(const S: String; Len: Integer): String;
function  strAddSlash(const S: String): String;
function  strDelSlash(const S: String): String;
function  strSpace(Len: Integer): String;
function  strToken(var S: String; Seperator: Char): String;
function  strTokenCount(S: String; Seperator: Char): Integer;
function  strTokenAt(const S:String; Seperator: Char; At: Integer): String;
procedure strTokenToStrings(S: String; Seperator: Char; List: TStrings);
function  strTokenFromStrings(Seperator: Char; List: TStrings): String;

function  strUpper(const S: String): String;
function  strOemAnsi(const S:String): String;
function  strAnsiOem(const S:String): String;
function  strEqual(const S1,S2: String): Boolean;
function  strComp(const S1,S2: String): Boolean;
function  strCompU(const S1,S2: String): Boolean;
function  strContains(const S1,S2: String): Boolean;
function  strContainsU(const S1,S2: String): Boolean;
function  strNiceNum(const S: String): String;
function  strNiceDateDefault(const S, Default: String): String;
function  strNiceDate(const S: String): String;
function  strNiceTime(const S: String): String;
function  strNicePhone(const S: String): String;
function  strReplace(const S: String; C: Char; const Replace: String): String;
function  strCmdLine: String;
function  strEncrypt(const S: String; Key: Word): String;
function  strDecrypt(const S: String; Key: Word): String;
function  strLastCh(const S: String): Char;
procedure strStripLast(var S: String);
function  strByteSize(Value: Longint): String;
function  strSoundex(S: String): String;
procedure strSearchReplace(var S:String; const Source, Dest: String; Options: TSRoptions);
function  strProfile(const aFile, aSection, aEntry, aDefault: String): String;
function  strCapitalize(const S: String): String;  { 31.07.96 sb }

{$IFDEF Win32}
procedure strDebug(const S: String);
function  strFileLoad(const aFile: String): String;
procedure strFileSave(const aFile,aString: String);
{$ENDIF}

{ Integer functions }
function  intCenter(a,b: Int_): Int_;
function  intMax(a,b: Int_): Int_;
function  intMin(a,b: Int_): Int_;
function  intPow(Base,Expo: Integer): Int_;
function  intPow10(Exponent: Integer): Int_;
function  intSign(a: Int_): Integer;
function  intZero(a: Int_; Len: Integer): String;
function  intPrime(Value: Integer): Boolean;
function  intPercent(a, b: Int_): Int_;

{ Floatingpoint functions }
function  fltAdd(P1,P2: Float; Decimals: Integer): Float;
function  fltDiv(P1,P2: Float; Decimals: Integer): Float;
function  fltEqual(P1,P2: Float; Decimals: Integer): Boolean;
function  fltEqualZero(P: Float): Boolean;
function  fltGreaterZero(P: Float): Boolean;
function  fltLessZero(P: Float): Boolean;
function  fltNeg(P: Float; Negate: Boolean): Float;
function  fltMul(P1,P2: Float; Decimals: Integer): Float;
function  fltRound(P: Float; Decimals: Integer): Float;
function  fltSub(P1,P2: Float; Decimals: Integer): Float;
function  fltUnEqualZero(P: Float): Boolean;
function  fltCalc(const Expr: String): Float;
function  fltPower(a,n: Float): Float;
function  fltPositiv(Value: Float): Float;
function  fltNegativ(Value: Float): Float;

{ Rectangle functions from Golden Software }
function  rectHeight(const R: TRect): Integer;
function  rectWidth(const R: TRect): Integer;
procedure rectGrow(var R: TRect; Delta: Integer);
procedure rectRelativeMove(var R: TRect; DX, DY: Integer);
procedure rectMoveTo(var R: TRect; X, Y: Integer);
function  rectSet(Left, Top, Right, Bottom: Integer): TRect;
function  rectInclude(const R1, R2: TRect): Boolean;
function  rectPoint(const R: TRect; P: TPoint): Boolean;
function  rectSetPoint(const TopLeft, BottomRight: TPoint): TRect;
function  rectIntersection(const R1, R2: TRect): TRect;
function  rectIsIntersection(const R1, R2: TRect): Boolean;
function  rectIsValid(const R: TRect): Boolean;
function  rectsAreValid(const Arr: array of TRect): Boolean;
function  rectNull: TRect;
function  rectIsNull(const R: TRect): Boolean;
function  rectIsSquare(const R: TRect): Boolean;
function  rectCentralPoint(const R: TRect): TPoint;
function  rectBounds(aLeft,aTop,aWidth,aHeight: Integer): TRect;

{$IFDEF Win32}
{ Variant functions }
function  varIIF( aTest: Boolean; TrueValue, FalseValue : Variant): Variant;
procedure varDebug(const V: Variant);
function  varToStr(const V: Variant): String;
{$ENDIF}

{ date functions }
function  dateYear(D: TDateTime): Integer;
function  dateMonth(D: TDateTime): Integer;
function  dateDay(D: TDateTime): Integer;
function  dateBeginOfYear(D: TDateTime): TDateTime;
function  dateEndOfYear(D: TDateTime): TDateTime;
function  dateBeginOfMonth(D: TDateTime): TDateTime;
function  dateEndOfMonth(D: TDateTime): TDateTime;
function  dateWeekOfYear(D: TDateTime): Integer;
function  dateDayOfYear(D: TDateTime): Integer;
function  dateDayOfWeek(D: TDateTime): TDayOfWeek;
function  dateLeapYear(D: TDateTime): Boolean;
function  dateBeginOfQuarter(D: TDateTime): TDateTime;
function  dateEndOfQuarter(D: TDateTime): TDateTime;
function  dateBeginOfWeek(D: TDateTime;Weekday: Integer): TDateTime;
function  dateDaysInMonth(D: TDateTime): Integer;
function  dateQuicken(D: TDateTime; var Key: Char): TDateTime;
{function  dateDiff(D1,D2: TDateTime): Integer;}

{ time functions }
function  timeHour(T: TDateTime): Integer;
function  timeMin(T: TDateTime): Integer;
function  timeSec(T: TDateTime): Integer;
function  timeToInt(T: TDateTime): Integer;

{$IFDEF Win32}
function  timeZoneOffset: Integer;
{$ENDIF}

{ com Functions }
function  comIsCis(const S: String): Boolean;
function  comIsInt(const S: String): Boolean;
function  comCisToInt(const S: String): String;
function  comIntToCis(const S: String): String;
function  comFaxToCis(const S: String): String;
function  comNormFax(const Name,Fax: String): String;
function  comNormPhone(const Phone: String): String;
function  comNormInt(const Name,Int: String): String;
function  comNormCis(const Name,Cis: String): String;

{ file functions }
procedure fileShredder(const Filename: String);
function  fileSize(const Filename: String): Longint;
function  fileWildcard(const Filename: String): Boolean;
function  fileShellOpen(const aFile: String): Boolean;
function  fileShellPrint(const aFile: String): Boolean;
function  fileCopy(const SourceFile, TargetFile: String): Boolean;

{$IFDEF Win32}
function  fileTemp(const aExt: String): String;
function  fileExec(const aCmdLine: String; aHide, aWait: Boolean): Boolean;
function  fileRedirectExec(const aCmdLine: String; Strings: TStrings): Boolean;
function  fileLongName(const aFile: String): String;
function  fileShortName(const aFile: String): String;
function  fileTypeName(const aFile: String): String;
{$ENDIF}
function  ExtractName(const Filename: String): String;

{ system functions }

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人免费毛片aaaaa**| 欧美中文字幕一区二区三区| 欧美大片一区二区三区| 日韩av午夜在线观看| 3751色影院一区二区三区| 亚洲国产成人av网| 欧美一级专区免费大片| 另类调教123区| 国产色产综合色产在线视频| 成人免费的视频| 理论电影国产精品| 日韩影院免费视频| 久久五月婷婷丁香社区| 不卡的av网站| 日韩中文字幕区一区有砖一区| 国产精品视频观看| 在线视频一区二区三| 成人免费视频国产在线观看| 久久www免费人成看片高清| 亚洲一区视频在线观看视频| 日韩你懂的在线播放| 欧美中文字幕亚洲一区二区va在线| 国产不卡视频一区二区三区| 亚洲最新视频在线观看| 日韩欧美国产一区在线观看| 欧美性大战久久久久久久 | 久久蜜桃av一区精品变态类天堂 | 欧美主播一区二区三区美女| av电影在线观看完整版一区二区| 亚洲电影一级片| 国产欧美视频一区二区| 欧美日韩国产中文| 成人永久看片免费视频天堂| 国产美女一区二区| 亚洲综合图片区| 一区二区三区免费观看| 亚洲码国产岛国毛片在线| 2024国产精品视频| 精品国产1区二区| 欧美在线观看禁18| 欧洲国内综合视频| 欧美日韩一级片在线观看| 国产东北露脸精品视频| 日韩中文字幕1| 日本不卡一二三| 亚洲国产精品久久人人爱| 亚洲韩国精品一区| 午夜精品久久久久久不卡8050| 国产精品网友自拍| 中文字幕亚洲精品在线观看| 精品精品欲导航| 欧美视频在线一区| 欧美精品一卡两卡| 一本到不卡免费一区二区| 国产黄色91视频| 成人h精品动漫一区二区三区| 成人午夜激情在线| 色视频欧美一区二区三区| 欧美性猛片aaaaaaa做受| 欧美一区二区精美| 国产亚洲成年网址在线观看| 国产精品电影一区二区三区| 欧美国产视频在线| 亚洲精品在线电影| 国产精品国产三级国产aⅴ无密码| 亚洲欧美激情插| 日本成人在线视频网站| 国产精品系列在线播放| 国产做a爰片久久毛片| 另类小说图片综合网| 成人激情校园春色| 欧美三级中文字幕在线观看| 欧美一级在线免费| 欧美国产精品一区二区| 亚洲精品日日夜夜| 亚洲免费大片在线观看| 三级久久三级久久| 99久久精品免费看| 91女厕偷拍女厕偷拍高清| 成人黄色小视频在线观看| 欧美在线免费观看亚洲| 精品国产sm最大网站| 综合网在线视频| 一区二区高清免费观看影视大全 | 日韩欧美一区二区视频| 91麻豆精品国产综合久久久久久 | 亚洲欧洲三级电影| 石原莉奈在线亚洲二区| 不卡的av电影| 精品少妇一区二区三区视频免付费 | 久久久一区二区| 亚洲美女屁股眼交| 国产精品一品二品| 欧美日韩一级大片网址| 国产欧美一区二区精品仙草咪| 亚洲综合免费观看高清在线观看| 精品亚洲免费视频| 国产suv精品一区二区三区| 欧美日韩高清一区二区不卡| 亚洲欧洲av色图| 国产原创一区二区| 日韩一二三区视频| 亚洲无人区一区| 99re成人在线| 欧美极品xxx| 久久国产日韩欧美精品| 欧美色综合网站| 亚洲天堂av老司机| 国产成人在线视频网址| 欧美一区二区播放| 亚洲成人你懂的| 色综合色综合色综合| 国产香蕉久久精品综合网| 免费高清不卡av| 欧美性猛交xxxx黑人交| 成人免费在线播放视频| 国产精品亚洲а∨天堂免在线| 日韩精品一区二区三区视频| 天天影视涩香欲综合网| 99精品欧美一区二区蜜桃免费 | 91麻豆国产精品久久| 久久久91精品国产一区二区精品| 看国产成人h片视频| 欧美伦理视频网站| 亚洲高清视频的网址| 在线视频观看一区| 一区二区三区四区五区视频在线观看| 菠萝蜜视频在线观看一区| 国产欧美久久久精品影院| 国产麻豆成人传媒免费观看| 欧美不卡一区二区三区四区| 美女高潮久久久| 91看片淫黄大片一级在线观看| 国产精品色在线观看| 国产99久久久精品| 国产女人水真多18毛片18精品视频| 国模少妇一区二区三区| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 欧美日韩在线播放三区四区| 亚洲人妖av一区二区| 99re6这里只有精品视频在线观看| 国产精品大尺度| 在线观看日韩电影| 亚洲午夜久久久久中文字幕久| 欧美午夜电影一区| 亚洲gay无套男同| 欧美电影在线免费观看| 日本视频在线一区| 日韩欧美亚洲国产精品字幕久久久 | 成人综合在线观看| **网站欧美大片在线观看| 日本韩国欧美三级| 国产女人18毛片水真多成人如厕 | av一区二区三区四区| 一级精品视频在线观看宜春院| 欧美性一二三区| 蜜臀久久99精品久久久久宅男| 欧美tickle裸体挠脚心vk| 国产91精品在线观看| 亚洲欧美日韩在线| 制服丝袜在线91| 国产激情一区二区三区四区| 亚洲欧洲日韩女同| 欧美精品久久久久久久多人混战| 久久福利资源站| 亚洲视频一区在线观看| 6080yy午夜一二三区久久| 国产精品69毛片高清亚洲| 亚洲乱码国产乱码精品精可以看| 欧美性xxxxxx少妇| 极品美女销魂一区二区三区| 《视频一区视频二区| 666欧美在线视频| 99久久久久久| 蜜臀久久99精品久久久久宅男 | 一本色道综合亚洲| 琪琪久久久久日韩精品| 欧美经典三级视频一区二区三区| 欧美日韩在线直播| 国产精品亚洲专一区二区三区| 亚洲视频综合在线| www成人在线观看| 精品视频一区 二区 三区| 国产一区二区不卡| 午夜久久久影院| 国产精品电影院| 亚洲精品在线三区| 欧美午夜免费电影| 成人精品视频网站| 日本系列欧美系列| 亚洲另类在线一区| 久久久影视传媒| 日韩一区二区影院| 91国在线观看| 成人免费视频播放| 国产中文字幕精品| 午夜欧美视频在线观看| 综合久久国产九一剧情麻豆| 精品久久一区二区| 欧美精品v日韩精品v韩国精品v|