Function EN Version 5.00

@CopyVStack

VStack

Syntax

@CopyVStack(TEXTSOURCEVSTACK;TEXTDESTINATIONVSTACK);
@CopyVStack(TEXTSOURCEVSTACK;TEXTDESTINATIONVSTACK;TEXTLISTVARNAMES);

Description

This @function copies all variables of the VStack with the VSTACKPATH TEXTSOURCEVSTACK to the VStack with the VSTACKPATH TEXTDESTINATIONVSTACK.
If the parameter TEXT/TEXTLIST TEXTLISTVARNAMES is specified, only the variables whose names are in this TEXTLIST are contained.

Return-value:
On success, TRUE is returned; otherwise @ERROR.

Example: @CopyVStack(TEXTSOURCEVSTACK;TEXTDESTINATIONVSTACK;TEXTLISTVARNAMES);

Test1[VSTACK1]:="TextVal1";
Test2[VSTACK1]:="TextVal2";
Test3[VSTACK1]:="TextVal3";
Ret:=@CopyVStack("VSTACK1";"VSTACK2";"Test1":"Test2");
@PrtVStack("VSTACK2";0);

Three variables are created on the VStack (with the local VSTACKPATH) "VSTACK1" .
The variables "Test1" and "Test2" are copied to the VStack (with the local VSTACKPATH) "VSTACK2" copied.
The variables on the VStack (with the local VSTACKPATH) "VSTACK2" are output.

Note : This text was machine-translated and may contain inaccuracies.