A89: Re: (C language) Macro Expansion


[Prev][Next][Index][Thread]

A89: Re: (C language) Macro Expansion




Why?  What difference does it make?  So far, all of my code has worked
exactly as I want it to.

Mark Leverentz

----- Original Message -----
From: Scott Noveck <noveck@pluto.njcc.com>
To: <assembly-89@lists.ticalc.org>
Sent: Monday, September 06, 1999 6:11 PM
Subject: A89: (C language) Macro Expansion


>
> >#define DECLARE_POINT(x,y) asm("\nMyRect: .long " x ", " y "\n");
>
> bad, bad, bad -- that code will NOT be what you think it will be.  You
> CANNOT have the space after the comma.  You must use the simpler:
>
> #define DECLARE_POINT(x,y) asm("\nMyRect: .long " x "," y "\n");
>
>     -Scott
>
>
>


References: