Next: writedata() Up: MacAnova Help File Previous: workspace   Contents


write(a, b, ...[,format:Fmt or nsig:m, header:F, labels:F, width:w,\
  height:h, macroname:T, missing:missStr, name:setName] [, file:fileName
  [,new:T]]]), Fmt, missStr, fileName, setName CHARACTER scalars, m > 0,
  w >= 30, h >= 12 integers

Keywords: output, files
write(a, b, ...) prints objects (variables, expressions, macros) a, b,
..., ordinarily retaining more decimal places than print().  By default,
write() formats REAL items using the format identified by 'wformat' on
getoptions() output.  By default this specifies 9 significant digits in
floating point form but may be changed by setoptions().

Except for using a different default format, write() is identical with
print(), and recognizes the same keywords.  It is provided as an easy
way to print results with more significant digits than does print(),
without having explicitly to specify a format.  See print() for a full
description of the various keywords and output.

See also topics setoptions(), matprint(), matwrite(), macrowrite(),

Gary Oehlert 2003-01-15