Your approach is workable, but I really wouldn't want to commit myself without having a much better idea of what problem we're trying to solve. In any case, I prefer to use the ternary operator '?' for single cases or occasionally double cases. Beyond that is getting a little bit too clever (but don't take that personally).
I have a feeling that either a series of if statements or a loop would solve this particular problem, but if there's a way to find out which values are more likely to occur, I would want to test for those values first.
All this arm-waving is good fun, but as I said, without having a good understanding of what the original poster's problem is, we can't offer a totally effective solution.
--t. alexIn reply to Re: Re: Re: efficiently printing to 30 files
by talexb
in thread efficiently printing to 30 files
by tbone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |