procedure Rotate(Offset: Integer);
Rotate spectrums down or up in the list.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | Integer |
Result: stored in self (calling object)
Examples
var a: TVec;
begin
CreateIt(a);
try
a.SetIt(False,[1,2,3,4]);
a.Rotate(2); // a = [3,4,1,2]
finally
FreeIt(a);
end;
end;