Display a string representation of an object or value
Usage
print (value [,&var|file-pointer|filename])
Description
The print function displays the string representation of a
value to the display. An optional second argument may be provided to
specify where to write the resulting string: a variable, an open file
pointer, or to a file.
If the string representation of the object appears to contain more
lines than are available on the screen, then the output will be piped
to the program given by the PAGER environment variable.
Alternatively the pager program may be specified via the pager
qualifier.
Qualifiers
pager[=string] Force the use of the pager. If a value is
specified, then use it for the pager command.
nopager Do not use a pager.
Example
Print the string representation of an array to a file called
array.dat:
print ([1:20:0.1], "array.dat");
Print the string represent of an array to a string str:
Set the maximum number of lines to print before using a pager
Usage
print_set_pager_lines (Int_Type num)
Description
The print_set_pager_lines function sets the maximum number of
lines that the string representation of an object can be before the
print function will use a pager.