Develop > Programming Guide > System Language reference > List: RAD functions > RAD function: display.value.copy

RAD function: display.value.copy

A RAD function that copies the internal display value cache from one file variable to another.

Function

display.value.copy

Format

display.value.copy($targetfile, $sourcefile)

Parameters

The following parameters are valid for this function.

Parameter Description
$targetfile

The file to which the internal display value cache is copied.

$sourcefile

The file from which the internal display value cache is copied.

Factors

The source or target file variable must be a valid file variable.

The old internal display value cache on the target file variable (if any) is released and a new internal display value cache is copied from the source file variable.

Return values

0: success

-1: failure

Example

See RAD function: same.