@CountListElement
Syntax
@CountListElement(TEXT1;POSITION2;TEXT3);
@CountListElement(FN1;POSITION2;FN3);
@CountListElement(TEXTLIST1;POSITION2;TEXT3);
@CountListElement(FNLIST1;POSITION2;FN3);
Description
Adds to the TEXT/TEXTLIST/FN/FNLIST TEXT1/TEXTLIST1/FN1/FNLIST1 at FN POSITION2 the element TEXT/FN TEXT3/FN3 to it. In the case of TEXT1/FN1 is the only valid POSITION2 the value 1 is possible.
Only elements of matching data types can be added!!!
(For example, a number cannot be added to a text list.)
Example: @CountListElement(TEXT1;POSITION2;TEXT3);
TEXT1:="Hallo";
POSITION2:=1;
TEXT3:="Welt";
@CountListElement(TEXT1;POSITION2;TEXT3);
returns "HalloWelt"
Example: @CountListElement(FN1;POSITION2;FN3);
FN1:=10;
POSITION2:=1;
FN3:=5;
@CountListElement(FN1;POSITION2;FN3);
returns 15
Example: @CountListElement(TEXTLIST1;POSITION2;TEXT3);
TEXTLIST1:="A":"B":"C":"D":"E";
POSITION2:=3;
TEXT3:="xx";
@CountListElement(TEXTLIST1;POSITION2;TEXT3);
returns "A":"B":"Cxx":"D":"E"
Example: @CountListElement(FNLIST1;POSITION2;FN3);
FNLIST1:=1:2:3:4;
POSITION2:=2;
FN3:=100;
@CountListElement(FNLIST1;POSITION2;FN3);
returns 1:102:3:4
Note : This text was machine-translated and may contain inaccuracies.
