PPWIZARD Manual
[Bottom][Contents][Search][Prev]: FindFileInPath()[Next]: GetAmPmTime()

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. Conversion Specification
    This tells PPWIZARD how to convert the first parameter.

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]: FindFileInPath()[Next]: GetAmPmTime()

PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Tuesday January 02 2001 at 7:37am