Hmm. Just got round to my second approach and it also takes 20ms. However if I change it to "subroutine" it comes down to 8ms here. Have the posted results been normal priority or subroutine?
-- Dr. Craig Graham, Software Engineer Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/