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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? esbrtns.pas

?? 詳細說明:畢業論文中關于小型賓館管理系統的詳細設計畢 業論文中關于小型賓館...一個酒店管理系統VB+Access [學生學籍管理系統(VB+Acess).zip] - !這個是剛剛編的畢業設計,可能
?? PAS
字號:
unit ESBRtns;

{    v1.1 14 Nov 1997
		- 32-Bit Bit Lists added

	v1.0 Intial Releas

	Miscellaneous Routines to enhance your 32-bit Delphi
	Programming including:

	- 16-bit Bit Lists
	- Block Operations
	- various String Routines and Conversions

	(c) 1997 ESB Consultancy

	These routines are used by ESB Consultancy within the
	development of their Customised Application.

	ESB Consultancy retains full copyright.

	ESB Consultancy grants users of this code royalty free rights
	to do with this code as they wish.

	We does ask that if this code helps you in you development
	that you send as an email mailto:esb@gold.net.au or even
	a local postcard. It would also be nice if you gave us a
	mention in your About Box or Help File.

	ESB Consultancy Home Page: http://www.gold.net.au/~esb

	Mail Address: PO Box 2259, Boulder, WA 6432 AUSTRALIA
}

interface

const
	MaxByte: Byte = 255;
	MaxShortInt: ShortInt = 127;
	MaxWord: Word = 65535;
	MaxReal: Real = 1.7e38;
	MaxSingle: Single = 3.4e38;
	MaxDouble: Double = 1.7e308;
	MaxExtended: Extended = 1.1e4932;
	MaxComp: Comp = 9.2e18;

	MinByte: Byte = 0;
	MinShortInt: ShortInt = -128;
	MinInt: Integer = -32768;
	MinWord: Word = 0;
	MinLongInt: LongInt = $80000000;
	MinReal: Real = 2.9e-39;
	MinSingle: Single = 1.5e-45;
	MinDouble: Double = 5.0e-324;
	MinExtended: Extended = 3.4e-4932;

const
	NumPadCh: Char = ' '; // Character to use for Left Hand Padding of Numerics

type
	TBitList = Word; // Used for a Bit List of 16 bits from 15 -> 0
	TLongBitList = LongInt; // Used for a Bit List of 32 bits from 31 -> 0

type
	String16 = string [16];
	String32 = string [32];


{*** Bit Manipulation ***}

procedure ClearAllBits (var Body: TBitList);

{ Sets all Bits to 0 }

procedure SetAllBits (var Body: TBitList);

{ Sets all Bits to 1 }

procedure FlipAllBits (var Body: TBitList);

{ Flips all Bits, i.e 1 -> 0 and 0 -> 1 }

procedure ClearBit (var Body: TBitList; const I: Byte);

{ Sets specified Bit to 0 }

procedure SetBit (var Body: TBitList; const I: Byte);

{ Sets specified Bit to 1 }

procedure FlipBit (var Body: TBitList; const I: Byte);

{ Flips specified Bit, i.e. 0 -> 1 and 1 -> 0 }

function BitIsSet (const Body: TBitList; const I: Byte): Boolean;

{ Returns True if Specified Bit is 1 }

procedure ReverseBits (var Body: TBitList); register;

{ Reverses the Bit List, i.e. Bit 15 <-> Bit 0, Bit 14 <-> Bit1, etc. }

function Bits2Str (const Body: TBitList): String16;

{ Converts a Bit list to a string of '1' and '0'. }

function Str2Bits (const S: String16): TBitList; register;

{ Converts a string of '1' and '0' into a BitList. }

function BitsSet (const Body: TBitList): Byte; register;

{ Returns a number from 0 -> 16 indicating the number of Bits Set }

function Booleans2BitList (const B: array of Boolean): TBitList;

{ Converts an Array of Boolean into a BitList }

procedure ClearAllLBits (var Body: TLongBitList);

	{ Sets all Bits to 0 }

procedure SetAllLBits (var Body: TLongBitList);

	{ Sets all Bits to 1 }

procedure FlipAllLBits (var Body: TLongBitList);

	{ Flips all Bits, i.e 1 -> 0 and 0 -> 1 }

procedure ClearLBit (var Body: TLongBitList; const I: Byte);

	{ Sets specified Bit to 0 }

procedure SetLBit (var Body: TLongBitList; const I: Byte);

	{ Sets specified Bit to 1 }

procedure FlipLBit (var Body: TLongBitList; const I: Byte);

	{ Flips specified Bit, i.e. 0 -> 1 and 1 -> 0 }

function LBitIsSet (const Body: TLongBitList; const I: Byte): Boolean;

	{ Returns True if Specified Bit is 1 }

function LBits2Str (const Body: TLongBitList): String32;

	{ Converts a Bit list to a string of '1' and '0'. )

{*** Block Operations ***}

procedure ESBMoveOfs (const Source; const Ofs1: Integer;
	var Dest; const Ofs2: Integer; const Size: Integer);

{ Moves Size bytes from Source starting at Ofs1 to destination
	starting at Ofs 2 using fast dword moves. BASM }

procedure ESBClear (var Dest; const Size: Integer);

{ Fills given structure with specified number of 0 values,
	effectively clearing it.	}

procedure ESBSet (var Dest; const Size: Integer);

{ Fills given structure with specified number of $FF values,
	effectively setting it. }

{*** String to Integer Types ***}

function Str2LInt (const S: String): LongInt;

{ Converts a String into a LongInt }

function Str2Byte (const S: String): Byte;

{ Converts a String into a Byte }

function Str2SInt (const S: String): ShortInt;

{ Converts a String into a ShortInt }

function Str2Int (const S: String): Integer;

{ Converts a String into an Integer }

function Str2Word (const S: String): Word;

{ Converts a String into a Word }

{*** Integer Types to Strings ***}

function LInt2Str (const L: LongInt; const Len: Byte): String;

{ Converts a LongInt into a String of length N with
	NumPadCh Padding to the Left }

function Byte2Str (const L: LongInt; const Len: Byte): String;

{ Converts a LongInt into a String of length N with
	NumPadCh Padding to the Left }

function LInt2ZStr (const L: LongInt; const Len: Byte): String;

{ Converts a LongInt into a String of length N with
	NumPadCh Padding to the Left }

function LInt2ZBStr (const L: LongInt; const Len: Byte): String;

{ Converts a LongInt into a String of length N with
	NumPadCh Padding to the Left, with blanks returned
	if Value is 0 }

function LInt2CStr (const L : LongInt; const Len : Byte): string;

{ Convert a LongInt into a Comma'ed String of length Len,
	with NumPadCh Padding to the Left }

function LInt2EStr (const L: LongInt): String;

{ Convert a LongInt into an exact String, No Padding }

function LInt2ZBEStr (const L: LongInt): String;

{ Convert a LongInt into an exact String, No Padding,
	with null returned if Value is 0 }

function LInt2CEStr (const L : LongInt): string;

{ Convert a LongInt into a Comma'ed String without Padding }

{*** Extended Reals to Strings ***}

function Ext2EStr (const E: Extended; const Decimals: Byte): String;

{ Converts an Extended Real into an exact String, No padding,
	with given number of Decimal Places }

function Ext2EStr2 (const E: Extended; const Decimals: Byte): String;

{ Converts an Extended Real into an exact String, No padding,
	with at most given number of Decimal Places }

function Ext2CEStr (const E: Extended; const Decimals: Byte): String;

{ Converts an Extended Real into an exact String, No padding,
	with given number of Decimal Places, with Commas separating
	thousands }

function Double2EStr (const D: Double; const Decimals: Byte): String;

{ Converts a Double Real into an exact String, No padding,
	with given number of Decimal Places }

function Single2EStr (const S: Single; const Decimals: Byte): String;

{ Converts a Single Real into an exact String, No padding,
	with given number of Decimal Places }

function Comp2EStr (const C: Comp): String;

{ Converts a Comp (Integral) Real into an exact String, No padding }

function Comp2CStr (const C : Comp; const Len : Byte): string;

{ Converts a Comp (Integral) Real into a Comma'ed String of
	specified Length, Len, NumPadCh used for Left padding }

function Comp2CEStr (const C : Comp): string;

{ Converts a Comp (Integral) Real into a Comma'ed String
	without Padding }

function Ext2Str (const E: Extended; const Len, Decimals: Byte): String;

{ Converts an Extended Real into a String of specified Length, using
	NumPadCh for Left Padding, and with Specified number of Decimals }

function Double2Str (const D: Double; const Len, Decimals: Byte): String;

{ Converts a Double Real into a String of specified Length, using
	NumPadCh for Left Padding, and with Specified number of Decimals }

function Single2Str (const S: Single; const Len, Decimals: Byte): String;

{ Converts an Single Real into a String of specified Length, using
	NumPadCh for Left Padding, and with Specified number of Decimals }

function Comp2Str (const C: Comp; const Len : Byte): String;

{ Converts a Comp (Integral) Real into a String of specified Length, using
	NumPadCh for Left Padding }

{*** Strings to Extended Reals ***}

function Str2Ext (const S: String): Extended;

{ Converts a String into an Extended Real }

{*** Extra String Operations ***}

function LeftStr (const S : string; const N : Integer): string;

{ Returns the substring consisting of the first N characters of S.
	If N > Length (S) then the substring = S. }

function RightStr (const S : string; const N : Integer): string;

{ Returns the substring consisting of the last N characters of S.
	If N > Length (S) then the substring = S. }

function LeftTillStr (const S : string; const Ch : Char): string;

{ Returns the substring consisting of the characters from S
	up to but not including the specified one.  If the specified
	character is not found then a null string is returned. }

function RightAfterStr (const S : String; const N : Integer): String;

	{ Returns the sub-string to the right AFTER the first
		N Characters. if N >= Length (S) then a Null string
		is returned. }

function RightAfterChStr (const S : String; const Ch : Char): String;

	{ Returns the sub-string to the right AFTER the first
		ocurrence of specifiec character.  If Ch not found then
		a Null String is returned. }

function StripTChStr (const S : string; const Ch : Char): string;

{ Returns the String with all specified trailing characters	removed. }

function StripLChStr (const S : string; const Ch : Char): string;

{ Returns the String with all specified leading characters removed. }

function StripChStr (const S : string; const Ch : Char): string;

{ Returns the String with all specified leading and trailing
	characters removed. }

function ReplaceChStr (const S : string; const OldCh, NewCh : Char): string;

{ Returns the String with all occurrences of OldCh character
	replaced with NewCh character. }

function FillStr (const Ch : Char; const N : Integer): string;

{ Returns a string composed of N occurrences of Ch. }

function BlankStr (const N : Integer): string;

{ Returns a string composed of N blank spaces (i.e. #32) }

function DashStr (const N : Integer): String;

{ Returns a string composed of N occurrences of '-'. }

function DDashStr (const N : Integer): string;

{ Returns a string composed of N occurrences of '='. }

function LineStr (const N : Integer): string;

{ Returns a string composed of N occurrences of '

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产麻豆成人传媒免费观看| 青娱乐精品视频| 久久天天做天天爱综合色| 在线观看视频一区二区| 99久久国产免费看| www.色精品| 91美女在线观看| 色播五月激情综合网| 色综合欧美在线| 日本韩国视频一区二区| 色94色欧美sute亚洲线路一ni | 欧美一区日本一区韩国一区| 欧美日韩aaaaaa| 欧美一级二级三级乱码| 精品99999| 最近中文字幕一区二区三区| 91丨porny丨中文| 丁香婷婷综合激情五月色| 成人国产精品免费观看动漫| 国产成人精品免费在线| 不卡区在线中文字幕| 91麻豆精品视频| 欧美精品三级在线观看| 在线电影国产精品| 精品国产一区二区三区av性色| 国产亚洲精品7777| 怡红院av一区二区三区| 午夜精品在线看| 日本不卡在线视频| 成人网在线播放| 6080亚洲精品一区二区| 国产亚洲人成网站| 亚洲国产精品欧美一二99| 精品无码三级在线观看视频 | 亚洲综合激情小说| 青青青伊人色综合久久| 97久久精品人人爽人人爽蜜臀| 欧美网站一区二区| 久久久久97国产精华液好用吗| 亚洲蜜臀av乱码久久精品蜜桃| 亚洲成人av一区| 国产成人免费视频网站高清观看视频| 色婷婷国产精品| 国产欧美精品一区aⅴ影院| 亚洲图片自拍偷拍| 成人黄色电影在线| 欧美成人女星排行榜| 亚洲欧美日韩系列| 国内精品久久久久影院一蜜桃| 在线观看av一区| 国产精品网站在线观看| 日本欧美一区二区| 色噜噜狠狠色综合中国| 久久久精品国产免费观看同学| 亚洲高清免费在线| 波多野结衣中文字幕一区 | 国产一区二区三区在线看麻豆| 91福利国产成人精品照片| 久久久激情视频| 日本亚洲三级在线| 欧美电影一区二区| 一区二区三区自拍| av福利精品导航| 国产午夜亚洲精品理论片色戒 | 有坂深雪av一区二区精品| 国产精品系列在线播放| www国产精品av| 久久精品国产99国产| 538在线一区二区精品国产| 一区二区三区资源| 在线观看日韩精品| 一级做a爱片久久| 欧美亚洲自拍偷拍| 一级中文字幕一区二区| 欧美三电影在线| 亚洲二区在线观看| 欧美麻豆精品久久久久久| 亚洲二区视频在线| 欧美精品在欧美一区二区少妇| 亚洲在线一区二区三区| 欧美色视频在线| 视频在线观看91| 91精品国产一区二区人妖| 五月天欧美精品| 欧美精品乱码久久久久久| 日韩av电影天堂| 日韩精品在线一区| 国产一区二区毛片| 中文av字幕一区| 91麻豆精东视频| 日韩极品在线观看| 欧美v日韩v国产v| 国产毛片精品国产一区二区三区| 欧美极品少妇xxxxⅹ高跟鞋 | 337p日本欧洲亚洲大胆精品| 精品亚洲免费视频| 国产精品乱码久久久久久| 99国产精品国产精品久久| 亚洲美女免费视频| 欧美一区国产二区| 东方aⅴ免费观看久久av| 亚洲乱码中文字幕综合| 日韩欧美一区二区不卡| 国产91精品一区二区麻豆网站 | 日韩一卡二卡三卡| 国产91对白在线观看九色| 一区二区三区日本| 日韩欧美一区二区不卡| av成人老司机| 麻豆专区一区二区三区四区五区| 欧美国产禁国产网站cc| 欧美唯美清纯偷拍| 国产精品99久久久久久久vr| 亚洲亚洲精品在线观看| 久久免费看少妇高潮| 欧美日韩一区中文字幕| 国产一区二区女| 午夜久久久久久久久| 国产精品乱码一区二区三区软件| 欧美伦理视频网站| 99久久99久久精品免费观看| 男女视频一区二区| 一区二区三区高清| 国产欧美精品一区二区三区四区| 91精品国产一区二区三区蜜臀| 不卡在线观看av| 国产一区不卡视频| 全部av―极品视觉盛宴亚洲| 日韩伦理电影网| 久久精品免费在线观看| 欧美一级欧美三级| 91国内精品野花午夜精品| 国产一区二区影院| 蜜桃视频在线一区| 亚洲欧美日韩一区二区三区在线观看| 久久精品男人天堂av| 日韩欧美中文字幕精品| 欧美日产在线观看| 一本色道久久综合亚洲精品按摩| 国产不卡一区视频| 黄色小说综合网站| 男女激情视频一区| 日产国产高清一区二区三区| 亚洲成人www| 亚洲电影欧美电影有声小说| 一区二区三区四区精品在线视频| 中文在线免费一区三区高中清不卡| 欧美一区2区视频在线观看| 精品1区2区3区| 337p亚洲精品色噜噜| 欧美三级资源在线| 欧美综合久久久| 在线观看欧美黄色| 欧美三区在线视频| 欧美久久久影院| 91精品欧美福利在线观看| 欧美精品777| 欧美精品久久久久久久久老牛影院| 欧美精品丝袜久久久中文字幕| 欧美精品v国产精品v日韩精品| 欧美一区国产二区| 精品国产一区二区三区久久久蜜月 | 免费成人在线网站| 老司机精品视频导航| 精品综合久久久久久8888| 久久99精品国产麻豆不卡| 国产最新精品免费| 国产丶欧美丶日本不卡视频| 国产99一区视频免费| 不卡的av在线播放| 91国产免费看| 6080午夜不卡| 国产亚洲精品7777| 亚洲人精品一区| 日韩二区三区在线观看| 激情综合色综合久久综合| 丁香婷婷综合五月| 欧美伊人久久大香线蕉综合69| 欧美一区二区久久| 国产精品三级电影| 亚洲欧美激情视频在线观看一区二区三区| 亚洲精品欧美在线| 久久精工是国产品牌吗| 波波电影院一区二区三区| 欧美综合色免费| 久久久亚洲高清| 夜色激情一区二区| 韩国av一区二区| 欧美日韩激情一区| 国产三级一区二区三区| 亚洲国产一区二区三区青草影视| 精品一区二区在线观看| 91麻豆精东视频| 久久婷婷国产综合精品青草| 亚洲精品日韩综合观看成人91| 蜜桃av噜噜一区二区三区小说| av电影天堂一区二区在线 | 国产乱码精品一区二区三| 欧美自拍丝袜亚洲| 国产精品热久久久久夜色精品三区|