Function:
math[Write], math[WriteLn] - improved printing procedures
Calling Sequence:
Write(expreseq);
WriteLn(exprseq);
Parameters:
exprseq - sequence of Maple expressions
Description:
Write and WriteLn print a sequence of arguments in one line on the screen without any deliminator (comma, spaces).
After printing the last argument Write does not force a line break; WriteLn, however, does.
Write and WriteLn were written to replace the lprint command which in most cases also displays commata and spaces beween the arguments passed and return floats in brackets, e.g. in Release 4:
Examples:
> with(math):
> e := 2.718:
> lprint(`The result is: `. e);
`The result is: `.(2.718)
> release := 4:
> Write(`Maple V `); Write(`Release `, release-1);
Maple V Release 3
> expr := ln(x):
> WriteLn(`The Integral of `, expr, ` is: `, int(expr, x), ` + C`);
The Integral of ln(x) is: x*ln(x)-x + C
See Also:
lprint , print , printf .
Version History:
Version 1.0 current as of November 07, 1996