Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Writes output to a file specified by its name or by a filehandler previously assigned to it by the file() function. The output file type depends on the type that is being written - in exactly the same way as it does for the write() function (see below). As the name implies, append() never overwrites previously existing output.  Note that special characters such as newline and tab can be written to text files.


Anchor
exist
exist

number exist ( string )

...

Assigns a file handler to a file whose name is the function argument. The file handler can be used in place of the file name in file output functions - write() and append() .


string filetype ( string )

Returns the internal Metview type as a string of the specified file. When Metview cannot determine the type it returns the string "BAD".  For Metview icons not representing data it returns "NOTE".


Anchor
newpage
newpage

none newpage ( display window )

...

Prints all its arguments to the output area of the main user interface (and to that of any opened macro editor window). Note that special characters such as newline and tab can be used here.


Anchor
read
read

fieldset read ( string )
observations read ( string )
geopoints read ( string )
list read ( string )
netcdf read ( string )

...

If you use write() sequentially, note that it will overwrite any previous output if called with a file name, but will add to previous output if called with a filehandler.

Note that special characters such as newline and tab can be written to text files.