"Dmitry A. Kazakov" a �crit dans le message news: > ARM states for Get_Line: > > "... Reading stops if the end of the string is met. Reading also stops > if the end of the line is met before meeting the end of the string; in > this case Skip_Line is (in effect) called with a spacing of 1. The > values of characters not assigned are not specified." > > What will happen if a line is exactly of 500 character length? From > the quote above I suppose that Get_Line will boldly go to the next > line. If so, then your program would merge all lines of 500 character > length into one adding the first shorter line, or raise an unexpected > End_Error if there is no one. > No. In this case, the recursive call will return an empty string (Skip_Line is not called), which is harmless and returns the correct value. Note that the recursive call will make the Skip_Line! -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr