Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
FileTools[Text][WriteLine] - write strings to a file or pipe
Calling Sequence
WriteLine(file, str1, str2, ...)
Parameters
file
-
file descriptor or filename
str1, str2, ...
(optional) one or more Maple strings to be printed
Description
The WriteLine(file) command writes the specified Maple expressions to the specified file, separated by newlines, and followed by a newline.
The WriteLine function returns a count of the number of characters written. Due to different character encodings, this number may differ from the number of bytes written to disk.
If file is default, the output is written to the current output stream.
If file is terminal, the line is written to the top level output stream. The top level output stream is the current output stream that was in effect when Maple was started.
If no strings are specified, only a newline is printed.
Examples
See Also
file, FileTools[Remove], FileTools[Text], FileTools[Text][Close], FileTools[Text][Open], FileTools[Text][ReadLine], IO_errors
Download Help Document