Malcolm Clark wrote:
>  >Great, very smart.
> Yes I was impressed when I read it. So simple. I think the original 
> context was a card dealing program.
> 
>  >I don't think the order of the input data is changed
> It is. You can easily check it.

If it's a fixed size array passed as a non-VAR parameter it 
shouldn't be changed, I'd consider it a compiler bug if that's 
not true.

Dynamic arrays are another story, they do get changed. Some quick 
tests showed that a way to counteract the effect is to construct 
the routines using open array parameters.

Stephen Posey
[EMAIL PROTECTED]
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to