メインコンテンツまでスキップ
バージョン:25.2

push

  • command to facilitate use of lists as stacks and queues, in conjunction with the pop and pull commands
  • new in 1.59
  • The push command is simply a synonym for the insert command. In its most basic form it simply adds an item to the end of a list:
         push 7 onto myStack
  • Related: insert, pop, pull