File: prog_listbuffer.ppl

package info (click to toggle)
pyxplot 0.9.2-13
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,180 kB
  • sloc: ansic: 50,373; xml: 1,339; python: 570; sh: 318; makefile: 89
file content (7 lines) | stat: -rw-r--r-- 123 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
myList = []
for (i=1; i<12; i++)
 {
  if prime(i) { call myList.append(i) ; }
 }
while (myList) { print myList.pop(0) ; }