[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie - having difficulty with a macro
From: |
Jack Woehr |
Subject: |
Re: Newbie - having difficulty with a macro |
Date: |
Fri, 31 Oct 2008 22:37:37 -0600 |
User-agent: |
Thunderbird 2.0.0.12 (X11/20080921) |
John Christopher wrote:
I was expecting the output to be:
3 foo, bar 2
What am I doing wrong?
Thank you.
define(`m1',`%d foo, bar %d')
format(m1, 3, 2)
0 foo
define(`m1',`%d foo`,'bar %d')
format(m1, 3, 2)
3 foo,bar 2
--
Jack J. Woehr # "Self-delusion is
http://www.well.com/~jax # half the battle!"
http://www.softwoehr.com # - Zippy the Pinhead