Topic Path: Symbol Reference > Functions > SameArray Function
ContentsIndexHome
PreviousUpNext
SameArray Function

Indicates if the bye values in B1 and B2 are identical.

File
function SameArray(
    const B1: TIdBytes; 
    const B2: TIdBytes
): boolean;
Parameters 
Description 
B1 
Byte values for the comparision.
 
B2 
Byte values for the comparision. 

Boolean - True when the byte arrays are identical.

SameArray is a Boolean function that indicates if the bye values in B1 and B2 are identical. SameArray returns True when the values in the TIdBytes instances in B1 and B2 have the same length and exactly the same content in each of their respective byte positions. 

SameArray compares the actual byte values, so bytes containing character values are compared using case sensitivity.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.