Public Function Reverse( _ ByVal vPosits As Long _ ) As Boolean
Assuming stkTemp.StringView() = "(Top) 4, 3, 2, 1 (Bottom)" for example stkTemp.Reverse(3) = True leaves stkTemp.StringView() = "(Top) 2, 3, 4, 1 (Bottom)"See also:
RollDown Function RollUp Function Rotate Function Swap FunctionvPosits: The number of stack items whose positions are to be reversed. The function does nothing and returns False if there are fewer than vPosits items on the stack.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.