4D v16.3

COPY SET

Home

 
4D v16.3
COPY SET

COPY SET 


 

COPY SET ( srcSet ; dstSet ) 
Parameter Type   Description
srcSet  String in Source set name
dstSet  String in Destination set name

The COPY SET command copies the contents of the set srcSet into the set dstSet.

Each of these sets can be of the process, interprocess or local/client type. The two sets do not have to be the same type (as shown in the examples below), so long as they are both visible on the machine. For more information about this point, refer to "Visibility of Sets".

The following example, in Client/Server, copies the local set "$SetA", maintained on the client machine, to the process set "SetB", maintained on the server machine:

 COPY SET("$SetA";"SetB")

The following example, in Client/Server, copies the process set "SetA", maintained on the server machine, to the local process set "$SetB", maintained on the client machine:

 COPY SET("SetA";"$SetB")



See also 

Sets

 
PROPERTIES 

Product: 4D
Theme: Sets
Number: 600

This command can be run in preemptive processes

 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)