FileTools[Text][WriteString] - write a string to a file
|
Calling Sequence
|
|
WriteString(file, str)
|
|
Parameters
|
|
file
|
-
|
file descriptor or filename
|
str
|
-
|
Maple string to be printed
|
|
|
|
|
Description
|
|
•
|
The WriteString(file, str) command writes the specified Maple string to the specified file.
|
•
|
The WriteString 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
|
|
>
|
|
| (1) |
>
|
|
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
|
|
Download Help Document
Was this information helpful?