m4-discuss
[Top][All Lists]
Advanced

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

Re: Question Regarding Input Variable


From: Clemens Fischer
Subject: Re: Question Regarding Input Variable
Date: Mon, 16 Sep 2002 14:36:31 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386--freebsd)

"Douglas Pollock" <address@hidden> writes:

> define('ARG1', `$1')
> define(FILE_NAME, ARG1)
>
> ARG1(MyFile)

this would result in ARG1 beeing substituted with `MyFile'.  you
should augment that for really storing that value.  guaranteed
untested:

define(`ARG1', `$1`'define(`FILE_NAME', $1)')dnl

does this work?

-- 
clemens






reply via email to

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