[M3devel] pointers/arrays?

Jay K jay.krell at cornell.edu
Mon Dec 27 03:11:28 CET 2010


a: UNTRACED REF T;
i: INTEGER;


a[i] ?
(a + i)^ ?


Or I'm really stuck with
LOOPEHOLE(a + i * BYTESIZE(a^), UNTRACED REF T)


Seems kind of stinky.
I've got some nice efficient readable safe-enough C and it doesn't seem to translate well easily efficiently to Modula-3.


 - Jay

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20101227/f6a7cae3/attachment-0001.html>


More information about the M3devel mailing list