Search ('all' for everything):
Search results:
&pos — scanning position
=s — match string in scanning
move — move scanning position
s ? expr — scan string
tab — set scanning position

Index of Function Types:
affects &pos
character sets
co-expressions
control structures
file processing
generators
infix operations
keywords
lists, sets and tables
math
metadata
output formatting
pattern matching
prefix operations
records
strings
windows and keyboards

Index of Subsystems:
base
digitcnt.icn
SNOBOL4 functions
 
push onto list
 
Description

L push(L, x1, x2, ..., xn)
push(L, x1, x2, …, xn) pushes x1, x2, …, onto the left end of L. Values are pushed in order from left to right, so xn becomes the first (leftmost) value of L. push(L) with no second argument pushes a null value onto L.
 
Parameters
L
a list that is a stack
x1…xn
elements to put on the stack
returns
the updated stack
 
Defaults
x1
&null
 
Errors
108 L is not a list
 
See Also
  • get — get value from list
  • pop — pop from list
  • pull — pull from list
  • put — put onto list