{{selection|Short Circuit|Console Program Basics}} [[Category:Basic language learning]] [[Category:Streams]] [[Category:Simple]] {{omit from|PARI/GP|No access to streams other than input}} {{omit from|TI-89 BASIC}} ;Task: Read from a text stream either word-by-word or line-by-line until the stream runs out of data. The stream will have an unknown amount of data on it.