File: list

package info (click to toggle)
ircii 4.4-3
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 4,256 kB
  • ctags: 2,797
  • sloc: ansic: 36,743; sh: 907; makefile: 483; lex: 16
file content (12 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# showlist <list of items>

alias showlist {
	@ sl.cnt = 0
	while (sl.wrd = [$($sl.cnt)])
	{
		echo $sl.wrd
		@sl.cnt = sl.cnt + 1
	}
	^assign -sl.cnt
	^assign -sl.wrd
}