| Calling Sequence
| dprint(e1,e2,...)
|
| Parameters
| | Name | Type | Description |
|
| ei
| anything | expression |
|
| Return Type
| NULL |
| Synopsis
| This function prints out any Darwin expression.
Expressions are printed so that they could be read back
by Darwin.
In principle a structure dprint-ed should produce, when read
back in, the same structure (except for numerical precision).
If given multiple expressions, these will be separated
by commas, so that they can be read as an expression sequence.
Dprint will use only one newline character at the end of
the printing, so large expressions may be hard to handle
in some systems (will be very long lines).
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.
Inside a printf statement, the format "%A" achieves the same
effect as dprint. |
| Examples
| > dprint('a b c',1/3,1e9);
'a b c', 0.3333, 1000000000
> printf( '%A\n', ['a b c',1/3,1e9] );
['a b c', 0.3333, 1000000000]
|
| See also
| lprint, print, printf (contains conversion patterns), PrintMatrix, prints, sprintf, sscanf |