Title: Message
|
Just curious. Since arrays occupy contiguous
memory space, would there be a way of testing the whole array as one
large string, and use the pos function?
Ross.
----- Original Message -----
Sent: Thursday, June 03, 2004 4:39
PM
Subject: RE: [DUG] "IN" an array?
you'll have to iterate the array and check each value for a
match
something like ::
for
i := low(myArray) to high(myArray) do
if myArray[i] = iValue then
begin
// match found
break;
end;
IN
is a set operator.
|
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi