summaryrefslogtreecommitdiff
path: root/day2/contains.TXT
blob: 9e9acad9c70d22d3c23298470dab53fbf9d2ea17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\START92\
\COMMENT=Single file dated Thu Dec  4 00:09:21 20
\NAME=contains
\FILE=day2.contains.92f
(list,value)
Func
Local i
For i,1,dim(list)
 If list[i]=value Then
  Return true
 EndIf
EndFor
Return false

EndFunc

\STOP92\