Search a list of records: Difference between revisions
m
→{{header|V (Vlang)}}
mNo edit summary |
|||
Line 3,560:
count++
if city == "Dar Es Salaam" {
if !result.contains("Index") {result += "Index of '${city}': ${count - 1}
}
if population < 5 {
if !result.contains("
}
if city[0].ascii_str() == "A" {
if !result.contains("letter") {result += "First
}
}
Line 3,575:
{{out}}
<pre>
First
Index of 'Dar Es Salaam': 6
First
</pre>
|