toby dunn <firstname.lastname@example.org> replied:
> I disagree with that statement. I think the best solution would be to
> the dang thing the way he want with less macros. By sending your code
> then back in is in MO to much hassel for too little.
> the whole thingy could be done like this:
> data one ;
> flower = 'Daisy' ;
> color = 'Yellow' ;
> run ;
> data two ;
> set one ;
> call symput ( compress('text'||_n_),compbl(flower||'='||color) ) ;
> call symput ( 'index' , compress(_n_) ) ;
> run ;
> %put &&text&index ;
But I'm going to agree with Alan when he said:
>> Others will argue for SCL or something else. Regardless, this
>> probably requires a complete rethink if you are using 6 ampersands.
Any application so complex that the author can't read it - much
less adapt it in six months - is probably due a factory re-fit.
Now that we have associative arrays, we have other ways of storing
David Cassell, CSC
Senior computing specialist