houseinc* is the wildcard you want. This
is documented at [U] 11.4 and the help for varlist. 
Nick 
[email protected] 
[email protected]
 
> I don't know if it is possible to refer to a set of variables 
> called the
> same thing but all ending in a number, but I'd quite like it to be.
> 
> For example, consider a dataset with the variables houseinc1 to
> houseinc100, houseinc_mean and id.  It would be nice to be able to do
> something like:
> 
> egen houseinc_total=rsum(houseinc#)
> which would sum houseinc1-houseinc100 but exclude housein_mean
> 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/