"amado.alves" a �crit dans le message de news:mailman.7.1074873660.2270.comp.lang.ada@ada-france.org... >"I don't follow, and I would like to, because I find [IN] OUT params >for functions very useful. Could you please elaborate on that a bit >more?" >Maybe the most common example is the idiom (illegal in Ada): > while Next (Item) loop > Do_Something (Item); > end loop; I understand pros and cons of in out for functions, but this one is really not convincing. I always write: while More_To_Come loop Get (Item); Do_Something (Item); end loop; Of course, Get raises an exception if there are no more items available, so it is a lot more secure. Well, of course, security and exceptions are not an issue when you program in C... -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr