On Saturday 15 May 2004 14:04, Grahame White wrote: > Of course the above wouldn't work if input were passed ByVal > and would require two functions or as you say declaring i and > j as public but that isn't good practice, not at all ;) Well, passing by reference isn't good practice either, but that doesn't seem to be stopping you ;) Rob