home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
hcshdemo.zip
/
csh-os2.zip
/
SAMPLES
/
MEMBER.CSH
< prev
next >
Wrap
Text File
|
1994-02-11
|
286b
|
15 lines
# Determine if first argument word appears somewhere in the list given
# by the second argument.
# Copyright (c) 1994 by Hamilton Laboratories. All rights reserved.
proc member ( a, b )
local i
foreach i ($b)
if (a == i) return 1
end
return 0
end
member $argv