|
From: | Hans Aberg |
Subject: | Re: FYI: default %printer/%destructor |
Date: | Tue, 21 Nov 2006 13:24:49 +0100 |
Ok, here's a less verbose alternative: a(name1): b c() d(@name2) For a, the value and location are $name1 and @name1. For b, they are $b and @b. For c, the value is declared unused.So far, these are old ideas I've discussed at length before. What's new is that, for d, the value is also declared unused, but the location can be referenced with @name2. This last usage may not be common, but I think itought to be possible.
One of my worries, is what happens if one adds variables for token values and names. Suppose, just to focus on something, the latter have symbols #, %. Then one would end up on combinations like:
a(name1): b c() d(@#name2) e($#%name3)The use of token values are rather rare, but essential in definitions. So the default could be that they are not used. Token names, if used in error messages, will be as frequent as locations. So these two might use the same default.
Hans Aberg
[Prev in Thread] | Current Thread | [Next in Thread] |