Skip to main content
Skip table of contents

p$TDV:Allg:FeldCopy


p$TDV:Allg:FeldCopy

Copy all or the given number of entries of an array into another array. If Number is 0 all entries of the array are copied. If one array has fewer entries than the other array the smaller number is used. The names of the arrays are specified without an index. The arrays may also part of the parameter group. In this case the index has to be specified as well. This function cannot be used to copy individual parameters of an indexed parameter group.

Please note: The transferred names are directly assigned as a string, and are therefore surrounded in quotation marks. Furthermore the parameters have to be global!

Syntax:

p$TDV:Allg:FeldCopy( sourcearray , destarray , Count )

 

Argument

Type

Meaning

 

Sourcearray

String

Name of the source parameter array (as a string)

 

Destarray

String

Name of the destination parameter array (as a string)

 

Number

Integer

Max. Number of taken entries in array or 0 if the function is supposed to calculate the number by itself.

Example:

p$tdv:allg:FeldCopy( Names', 'Addresses[1].Name', 0 )

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.