Unit mwCompFrom

+--------------------------------------------------------------------------+ | Unit: mwCompFrom | Created: 12.97 | Author: Martin Waldenburg | Copyright 1997, all rights reserved. | Description: Several comparisions methods, no range checking is done, | you are fulli responsible for this. | Version: 1.0 | Status FreeWare | It's provided as is, without a warranty of any kind. | You use it at your own risc. | E-Mail me at Martin.Waldenburg@t-online.de +--------------------------------------------------------------------------+

Classes

Functions

CompareFrom - MakeCompTable
CompareTextFrom - CompareFrom
CompIntAt - IStrCompfrom
CompShortAt - CompIntAt
CompSmallAt - CompShortAt
IStrCompfrom - StrCompfrom
StrCompfrom - CompareTextFrom

Types

Constants

Variables

CompTable


Functions


function CompareFrom(Const Item1, Item2; P, Count: Integer): Integer;

MakeCompTable

function CompareTextFrom(Const Item1, Item2; P, Count: Integer): Integer;

CompareFrom

function CompIntAt(Const Item1, Item2; P: Integer): Integer;

IStrCompfrom

function CompShortAt(Const Item1, Item2; P: Integer): Integer;

CompIntAt

function CompSmallAt(Const Item1, Item2; P: Integer): Integer;

CompShortAt

function IStrCompfrom(Const Item1, Item2; P, Count: Integer): Integer;

StrCompfrom

function StrCompfrom(Const Item1, Item2; P, Count: Integer): Integer;

CompareTextFrom

Types


Constants


Variables

CompTable : array[#0..#255] of Char