Get_Line
Martin Persson <[email protected]> Wed, 26 Feb 2003 11:54:41 +0100
| Newsgroups | gmane.comp.lang.ada.sockets |
|---|---|
| Message-ID | <[email protected]> |
Is there a design reason why Get_Line in AdaSockets is a function and not comformant with the standard Get_Line for strings which is a procedure? One of the problems with a function arises when one stores the result in a string and wants to find out the real length of the line (without using Unbounded or similar solutions). This is dealt with in Ada.Text_IO.Get_Line by returning the string and the real length via out parameters. Are there any plans of adding a Get_Line procedure to the library? -- Martin _______________________________________________ AdaSockets mailing list [email protected] http://www.rfc1149.net/mailman/listinfo/adasockets