On Tue, Apr 17, 2001 at 09:50:17PM +0100, Tomas Frydrych wrote:
> > dom> setlocale(LC_NUMERIC, "C"); // set locale to C sprintf(buf,
> > dom> "%.4f", float_foo); setlocale(LC_NUMERIC, ""); // reset locale
> >
> > Bill:
> > Now *that* is my idea of a good place for a macro.
>
> I don't think the preprocessor can handle macros with variable
> parameters, but I could be wrong.
They can in C99, but we definitely don't want to assume that.
sam th --- [EMAIL PROTECTED] --- http://www.abisource.com/~sam/
OpenPGP Key: CABD33FC --- http://samth.dyndns.org/key
DeCSS: http://samth.dyndns.org/decss
PGP signature