Hi Michael,
> Your code:
>
> local groep="lft"+string((`y'-1)*5)+"_"+string(`y'*5)+`gesl';
>
> will not work since +`gesl' at the end is expanded to +_m,
> and Stata doesn't
> know what _m is. Try
>
> local groep="lft"+string((`y'-1)*5)+"_"+string(`y'*5)+"`gesl'";
> local sterfte="stf"+"`gesl'";
>
> although this last line can be just
>
> local sterfte="stf`gesl'";
Ah, ok, thanks a lot! It seems to be a rather trivial thing after all...
Best,
-Hendri.
*
* 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/