[M3devel] index array by longint?

Tony Hosking hosking at cs.purdue.edu
Sat Jan 9 19:25:23 CET 2010


I think having assignability let's you do what you need.  The range check on assignment will then allow you to index...

On 9 Jan 2010, at 04:34, Jay K wrote:

> Index array by longint?
> With runtime check that it is <= LAST(INTEGER)?
>   Or really, with runtime bounds check against the array size.
>  
> Seems reasonable?
> Aids the rd/wr change.
> A little bit of pain to implement..unless INTEGER and LONGINT have a common base...
>  
>  
>  - Jay
> 
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100109/a6af6f03/attachment-0002.html>


More information about the M3devel mailing list