What you need to do is called 'software development', and it consists of two steps:
- Develop the logic to solve the problem you are facing; and
- Write software that replicates the logic you've developed.
Are you stuck on step 1, or on step 2?
Alex / talexb / Toronto
Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.