Thanks Jasper & Rafael, these solutions work great! -- View this message in context: http://mailinglists.scilab.org/Can-this-loop-be-avoided-tp4036792p4036801.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.