lua-users home
lua-l archive

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


On Wed, 8 Dec 2004 14:47:50 -0800, Philip Plumlee
<phlip@sammystudios.com> wrote:
> Luists:
> 
> Ogle this awesome snip of C++:
> 
>        #define TRACE_(x) cout << #x ": " << x << endl
> 

[snip]

This is easy in C++ because of the preprocessor.  Why not use a
preprocessor on your Lua code?