RosettaCodeData/Task/Stack/Frink/stack.frink
2023-07-01 13:44:08 -04:00

6 lines
83 B
Text

a = new array
a.push[1]
a.push[2]
a.peek[]
while ! a.isEmpty[]
println[a.pop[]]