Beispiel #1
0
 public virtual void PushAllReverse(GenericStack <T> inOther)
 {
     for (int n = Count - 1; n >= 0; n--)
     {
         inOther.Push(this[n]);
     }
 }
Beispiel #2
0
        public override void Execute(Interpreter inI)
        {
            GenericStack <T> stack = inI.GetStack <T>();

            if (stack.Size() > 0)
            {
                stack.Push(func());
            }
        }