RosettaCodeData/Task/Flow-control-structures/Phix/flow-control-structures-3.phix

7 lines
90 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
for i=1 to 100 do
if a[i]=x then
location = i
exit
end if
end for