I just realized the error in the while loop, I will try that again at the weekend, I think it may have been correct at one time but the routine never finished. -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html