next_psf(3m)

NAME
next_psf - Create a new postscript file name

SYNOPSIS
s = next_psf(psf )

DESCRIPTION
Generates a new file name by appending a number to it. To get the current number, it reads the directory where the new file is expected to be created. Although this function is used for generating successive postscript files, it will work with any kind of file names.

PARAMETERS

psf Generic name of the file. The next name wil have a number of three digits appended to it.

RETURNS
The next file name.

AUTHORS
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999