Exactly what I wanted. I've tried this before:
    
    
    template POP: int =
      result = stack[p]
      dec p
    
    Run

and realized it won't work, then I went in the wrong direction (to put it in 
one line)...

That solves my probem, many thanks to you all. 

Reply via email to