Subject: Re: comments on array proposal
From: Adam Krolnik (krolnik@lsil.com)
Date: Thu Apr 11 2002 - 07:43:13 PDT
Hi Paul;
>Doesn't this look nicer?
> for (i = $low(A, 1); i <= $high(A, 1); i++)
It's too bad we don't follow perl...
foreach my $i ($range(A, 1))
...
Range would return the range of indices for iteration purposes.
Adam Krolnik
Verification Mgr.
LSI Logic Corp.
Plano TX. 75074
This archive was generated by hypermail 2b28 : Thu Apr 11 2002 - 07:44:43 PDT