Product SiteDocumentation Site

5.2.4.13. lineIn


>>-lineIn-+-------------------------+--------------------------><
          +-(-+------+-+--------+-)-+
              +-line-+ +-,count-+

Returns the next count lines. The count must be 0 or 1. The stream advances the read pointer. If you omit count, it defaults to 1. A line number may be given to set the read position to the start of a specified line. This line number must be positive and within the bounds of the stream, and must not be specified for a transient stream. A value of 1 for line refers to the first line in the stream. If the stream is not already open, then the interpreter tries to open the stream for reading and writing. If that fails, the stream is opened for input only.