Search a list: Difference between revisions
m
→{{header|RPL}}: one-size-fits-all solution
m (Move FutureBasic out of BASIC group) |
m (→{{header|RPL}}: one-size-fits-all solution) |
||
Line 3,748:
=={{header|RPL}}==
{{works with|HP|48G}}
{ "Zig" "Zag" "Zig" "Wally" "Ronald" "Bush" "Krusty" "Charlie" "Bush" "Bozo" } '<span style="color:green">HAYSTACK</span>' STO
≪ → up
'''IF'''
'''
'''END'''▼
Needle not found" DOERR▼
≫ ≫ '<span style="color:blue">LOOKUP</span>' STO▼
▲ '''END'''
"Bush" 1 <span style="color:blue">
"
1: 6▼
▲ "LOOKDN Error:
▲ Needle not found" DOERR
{{out}}
<pre>
1: 2
</pre>
|