[M3devel] [M3commit] CVS Update: cm3

Tony Hosking hosking at cs.purdue.edu
Mon Jan 5 11:47:15 CET 2009


According to the language spec:

The following operations are primarily used for address arithmetic:

                ADR  (VAR x: Any)            : ADDRESS

      infix     +    (x: ADDRESS, y:INTEGER) : ADDRESS
      infix     -    (x: ADDRESS, y:INTEGER) : ADDRESS
      infix     -    (x,y: ADDRESS)          : INTEGER
ADR(x) is the address of the variable x. The actual argument must be a  
designator but need not be writable.


On 5 Jan 2009, at 08:25, Jay Krell wrote:

> CVSROOT:	/usr/cvs
> Changes by:	jkrell at birch.	09/01/05 08:25:48
>
> Modified files:
> 	cm3/m3-sys/m3front/src/builtinOps/: Adr.m3
>
> Log message:
> 	minor cleanup; should see about switching this? Or removing it?  
> Looks like some indecisiveness and that the switched off way is more  
> type-safe..

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


More information about the M3devel mailing list