Function EN Version 1.90

@ShiftList

Float List Misc NUMBER Text TimeDate

Syntax

@ShiftList(FN1;FN2;DIRECTION3);
@ShiftList(TEXT1;TEXT2;DIRECTION3);
@ShiftList(TD1;TD2;DIRECTION3);
@ShiftList(FNLIST1;FN2;DIRECTION3);
@ShiftList(TEXTLIST1;TEXT2;DIRECTION3);
@ShiftList(TDLIST1;TD2;DIRECTION3);

Description

Shifts the FN/TEXT/TD/FNLIST/TEXTLIST/TDLIST FN1/TEXT1/TD1/FNLIST1/TEXTLIST1/TDLIST1 in the direction FN DIRECTION3, sets the vacated position to FN/TEXT/TD FN2/TEXT2/TD2 and removes the element at the other end of the list. For FN1/TEXT1/TD1 this is equivalent to a simple replacement with FN2/TEXT2/TD2.

DIRECTION3:
0=Right
1=Left

Example: @ShiftList(FN1;FN2;DIRECTION3)

FN2:=20;
DIRECTION3:=0;
@ShiftList(FN1;FN2;DIRECTION3);

Example: @ShiftList(TEXT1;TEXT2;DIRECTION3)

TEXT1:="Alt";
TEXT2:="Neu";
DIRECTION3:=1;
@ShiftList(TEXT1;TEXT2;DIRECTION3);

Example: @ShiftList(TD1;TD2;DIRECTION3)

TD1:=[30.09.93];
TD2:=[01.10.93];
DIRECTION3:=0;
@ShiftList(TD1;TD2;DIRECTION3);

returns [01.10.93];

Example: @ShiftList(FNLIST1;FN2;DIRECTION3)

FNLIST1:=10:11:12:13:14;
FN2:=20;
DIRECTION3:=0;
@ShiftList(FNLIST1;FN2;DIRECTION3);

Example: @ShiftList(TEXTLIST1;TEXT2;DIRECTION3)

TEXTLIST1:="Alt1":"Alt2":"Alt3":"Alt4";
TEXT2:="Neu";
DIRECTION3:=1;
@ShiftList(TEXTLIST1;TEXT2;DIRECTION3);

Example: @ShiftList(TDLIST1;TD2;DIRECTION3)

TDLIST1:=[28:09.93]:[29.09.93]:[30.09.93];
TD2:=[01.10.93];
DIRECTION3:=0;
@ShiftList(TDLIST1;TD2;DIRECTION3);

returns [01.10.93]:[28.09.93]:[29.09.93]

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