Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
FileTools[Text][ReadFile] - read all lines from a file
Calling Sequence
ReadFile(file)
Parameters
file
-
file descriptor or filename
Description
The ReadFile(file) command reads a string containing all the characters in the file. For files previously opened, the result string contains all the characters from the current file position to the end of file. The characters are returned as a string.
If the file is not open prior to calling ReadFile then it will be closed before returning. If the file was already open it will not be closed.
Examples
See Also
file, FileTools[Remove], FileTools[Text], FileTools[Text][Close], FileTools[Text][Open], FileTools[Text][ReadLine], FileTools[Text][WriteLine], FileTools[Text][WriteString], IO_errors, readline
Download Help Document