Re: Re: tcl – Checking for files

› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › tcl – Checking for files › Re: Re: tcl – Checking for files

#57031
Ayan George
Participant

    pretty easy.  lets say you have a variable called “flagFile” that contains the name of a file with a .flg extension.  you can do the following:

    Code:


    set datFile “[ file rootname $flagFile ].dat”

    David Harrison wrote:

    I