function SomeFunction1 (toList, tnIndex tnRelativePos) {
Var lnDestIndex=tnIndex + tnRelativePos;
Var loOption;
If (tnRelativePos==0) return;
If (lnDestIndex>=0 & amp; & LnDestIndexLoOption=toList [tnIndex];
If (lnDestIndexFor (var lnIndex=tnIndex; LnIndex> LnDestIndex; LnIndex -)
ToList [lnIndex]=toList [lnIndex - 1);
} else {
For (var lnIndex=tnIndex; LnIndexToList [lnIndex]=toList [lnIndex + 1];
}
ToList [lnDestIndex]=loOption;
}
}
CodePudding user response:
It looks as if is named column data
CodePudding user response:
Js array position transformation
CodePudding user response:
The