June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -5,13 +5,13 @@ search(list l, text s)
|
|||
|
||||
i = 0;
|
||||
while (i < ~l) {
|
||||
if (!compare(l[i], s)) {
|
||||
if (l[i] == s) {
|
||||
break;
|
||||
}
|
||||
i += 1;
|
||||
}
|
||||
|
||||
o_(s, " is ", i == ~l ? "not in the haystack" : cat("at ", itoa(i)), "\n");
|
||||
o_(s, " is ", i == ~l ? "not in the haystack" : "at " + itoa(i), "\n");
|
||||
}
|
||||
|
||||
integer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue