| Calling Sequence
| lprint(e1,e2,...)
|
| Parameters
| | Name | Type | Description |
|
| ei
| anything | expression |
|
| Return Type
| NULL |
| Synopsis
| This function prints out any Darwin built-in type
or structured type.
If the expression is too long, newline characters will be
inserted in a semi-intelligent way.
Multiple expressions are separated by a single space.
Floating point numbers are printed with 5 significant digits.
The global variable NumberFormat can be assigned a format, as in
the printf function, and all numbers will be printed accordingly.
lprint is intended to provide a safe and quick way of printing
expressions.
In general, it is not possible to read them back into Darwin,
use dprint for Darwin-readable output. |
| Examples
| > x:= [[1,2],[3,4]]:
> lprint('A linear printing of a square matrix:', x);
A linear printing of a square matrix: [[1, 2], [3, 4]]
|
| See also
| dprint, print, printf (contains conversion patterns), PrintMatrix, prints, sprintf, sscanf |