<<

Contents

Search

>>

 

RENAME_CLIENT

 

 

Instruction

 

 

Syntax:

RENAME_CLIENT <Old Filename>,<New Filename> ON ERROR … END

 

<Old Filename>

= <STRING-EXPRESSION>

<New Filename>

= <STRING-EXPRESSION>

 

 

Meaning:

Renames a file on the client computer.

 

If the program is not a Java-2T-program, RENAME_CLIENT is identical with RENAME.

 

In the case of an error the block ON ERROR … END is executed and the variable OK contains the error number.

 

Parameter:

Old Filename

Old filename

New Filename

New filename

 

Sample:

RENAME_CLIENT "Test.dat","Test.old"

              ON ERROR ERRORMES = "Error" + STR$(OK) END

 

See also:

RENAME

KILL

KILL_DIRECTORY