PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: FormatTime()[Next]: Generate Mask

GenerateFileName()

This is a rexx function provided by PPWIZARD. This routine (like all PPWIZARD extensions) can be used with any operating system supported by PPWIZARD.

This function returns a filename which is translated in the same way as the "/Output" switch. It also ensures that any directory component of the generated filename exists.

The parameters are as follows:

  1. Name of a file
    This is the name of a file that is used as a basic for conversion using the second parameter.

  2. A "Generate Mask"
    A Generate Mask tells PPWIZARD how to convert the first parameter into a new filename.

Note that the /UNC switch affects how this routine operates.

Example

    ;--- For the current input file work out a good name for a debug file ---
    #evaluate '' ^DebugFile = GenerateFileName('<?InputFile>', 'out\*.DBG')^
    


[Top][Contents][Search][Prev]: FormatTime()[Next]: Generate Mask

PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Thursday January 17 2002 at 6:27pm