lua-users home
lua-l archive

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


On Wed, Oct 3, 2012 at 3:13 PM, David Collier <myshkin@cix.co.uk> wrote:
> won't # if fred == nil then
> fulfil the purpose?

That would be the syntax, yes - and 'fred == nil' there is a
_compile-time_ value, which could be anything. Or you could have a big
shouting IF.

> Indeed - I am thinking ahead to trying to get a worthwhile size of
> program inside a single-chip-micro

Then I fully understand. I'll experiment with classic if/ifelse/else
macros in LM

steve d.