m4-discuss
[Top][All Lists]
Advanced

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

Re: Strings to Macro


From: Jack J. Woehr
Subject: Re: Strings to Macro
Date: Fri, 20 Jan 2017 14:06:47 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46

Varghese Paul wrote:

Nedd a help on the below program.

This works, try something like this:

define(`x1',`foo')
define(`x2',`bar')
x1
x2
define(`xit',`x'$1)
xit(1)
xit(2)

-- 
Jack J. Woehr     # Science is more than a body of knowledge. It's a way of
www.well.com/~jax # thinking, a way of skeptically interrogating the universe
www.softwoehr.com # with a fine understanding of human fallibility. - Carl Sagan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]