@ResetVStack
Syntax
@ResetVStack(NAME1);
@ResetVStack(NAME1;VAR1);
Description
Resets all variables on the VStack with the name TEXT NAME1 to the value in VAR1. If the @Function is called without the second parameter, the variables are set to the value/data type PV. Sub-VStacks located on the VStack NAME1 are not affected. If NAME1 is specified as "" only, the variables of _PRCVSTACK are reset.
The number of reset variables is returned.
WICHTIGE VStacks:
_SYSTEM
_PRGVSTACK1
_PRGVSTACK2
_TMPVSTACK
MAIN
SYSTEM
GLOBAL
HINWEIS:
All variables beginning with "_" (underscore) are SYSTEMVARIABLES which should not be used!
SYSTEMVARIABLES are neither supported nor documented.
!!!! VStacks are variables too !!!!
All paths beginning with GLOBAL, SHARED, or _SYSTEM cannot be deleted!
Example: @ResetVStack(NAME1)
x[noteh1]:="TestVar1";
yy[noteh1]:=1234;
zzz[noteh1]:="TestVar3";
@PrtVStack("noteh1";0;2048);
@ResetVStack("noteh1");
@PrtVStack("noteh1";0;2048);
The variables x[noteh1],yy[noteh1] and zzz[noteh1] are set to PV.
Example: @ResetVStack(NAME1;VAR1)
x[noteh1]:="TestVar1";
yy[noteh1]:=1234;
zzz[noteh1]:="TestVar3";
@PrtVStack("noteh1";0;2048);
@ResetVStack("noteh1";@Unavailable);
@PrtVStack("noteh1";0;2048);
The variables x[noteh1],yy[noteh1] and zzz[noteh1] are set to UA.
Note : This text was machine-translated and may contain inaccuracies.
