In reply to Peter Lancashire.

Thank you, Peter, for your comments. Of course, the same problem can be solved in a variety different ways: by using different PROCs, statements, techniques, approaches, languages. In most cases, it is matter of personal background and preferences. As for advantages and disadvantages, it would take a dissertation to analyze them in detail for different scenarios. My shortcut take on this: as long as two different codes produce intended results within given constrains (run time, computing resources, etc.), the more advantageous code is the one that is clearer and easier to understand by your peers.