RE: [sv-bc] Mantis 1571: proposal for macro defaults

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Wed Aug 15 2007 - 01:19:14 PDT
Hi, Dave. 

> How do you explicitly pass empty text as an argument and not 
> use the default?

I assume you mean, if I have a non-empty default, how can I explicitly
make the argument empty? Answer: I don't have a solution for that.
Specifying a non-empty default loses me that ability. It is still an
enhancement relative to today where there are no defaults at all. If I
need to be able to specify an empty argument, I will not be able to use
a non-empty default. I would be happy to get a suggestion for a solution
to this.

> In a similar vein, wt happens if an argument to the macrosis 
> itself a macro that turns into empty text. Does the default apply?
> 
> When is the default expression evaluated?

I want to think about these more before I answer.

Thanks,
Shalom

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Aug 15 01:21:06 2007

This archive was generated by hypermail 2.1.8 : Wed Aug 15 2007 - 01:21:38 PDT