PutFile()

Put a file parameter in the data base.

Usage

PutFile( path, par,
                   value, clobber=True )

Parameters

path (string)
Data base path of the node containing the parameter.
par (string)
Parameter name.
value (string (path of File)
The parameter value.
clobber (boolean)
The parameter value will be overwritten if clobber is true.

Return Value

None

Error

The parameter must be a string.

Description

This routine saves a file parameter in the data base. The parameter address is given by its node path and the par name. The value of parameter is given by value. If the clobber is true, the parameter value will be overwritten. For example,
nodeFile = Root + RS + 'file'
PutFile( nodeFile, 'filevalue', 'F:\Acusim\Readme.txt', False )