copy(field/value/variable)


Returns the value of a data element given by type and (if needed) a value a.

Possible sources that can be used are:

Type of Parameter

Value of Parameter

Meaning

Field

Name of the field.

Value of the source field.

Value

Text.

Constant.

Result

Number of a previously executed function.

Result of the function.

Var

Name of the variable.

Value of the variable.

Link

Empty.

Value of the source field that has been assigned to the current field.

Destination

Name of the field.

The currently set value of the given destination field.

If the name of a nonexistent field, variable etc. is specified, the function will break with an error message.

Description of Parameters

Parameter

Description

a

The necessary value for the selected parameter type (see above).

Examples

Defined is a source field SourceField with value value, a variable VAR with value 10, a destination field DestField with value destvalue. The current field executing the function is assigned to a source field with value destvalue. The result of the previously execute function with number 1 is World.

Typ of Parameter

Value of Parameter

Result

Value

Hello

Hello

Result

1

World

Field

SourceField

Value

Field

OtherField

Function finishes with an error.

Var

VAR

10

Var

OTHERVAR

Function finishes with an error.

Destination

DestField

destvalue

Destination

OtherField

Function finishes with an error.

Link

assignvalue