|
|
|||
|
|
| ReadList["file"] reads all the remaining expressions in a file, and returns a list of them. |
| ReadList["file", type] reads objects of the specified type from a file, until the end of the file is reached. The list of objects read is returned. |
| ReadList["file", {type1, type2, ...}] reads objects with a sequence of types, until the end of the file is reached. |
| ReadList["file", types, n] reads only the first n objects of the specified types. |
| Byte | single byte, returned as an integer code | |
| Character | single character, returned as a one-character string | |
| Expression | complete Mathematica expression | |
| Number | integer or an approximate number, given in "E" format | |
| Real | approximate number, given in "E" format | |
| Record | sequence of characters delimited by record separators | |
| String | string terminated by a newline | |
| Word | sequence of characters delimited by word separators |
| NullRecords | False | whether to assume a null record between repeated record separators | |
| NullWords | False | whether to assume a null word between repeated word separators | |
| RecordSeparators | {"\r\n","\n","\r"} | separators allowed between records | |
| RecordLists | False | create separate sublists for each record | |
| TokenWords | {} | words taken as delimiters | |
| WordSeparators | {" ","\t"} | separators allowed between words |