# Category : Files from Magazines

Archive : MAR91.ZIP

Filename : 2N03023A

const

ARRAY_MAX = 10;

type

array_of_integer = array [1 .. ARRAY_MAX] of integer;

{*

* Compare two arrays of integers, a and b. Return TRUE

* if for all i from 1 to n, a[i] = b[i]; return FALSE

* otherwise.

*}

function equal(var a, b : array_of_integer; n : word)

: boolean;

var

i : word;

begin

i := 1;

while (i <= n) and (a[i] = b[i]) do

i := i + 1;

equal := i > n;

end;

Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/