more complicated.
sys a,b,ma,mb,mc,md,me, string c="AAUUURELLL", c1
for b=1 to 1
for a=1 to 10
c1= asc(c,a)
select c1
case "A"
ma +=1
case "U"
mb +=1
case "R"
mc +=1
case "E"
md +=1
case "L"
me +=1
end select
next
next
print "Found " + ma + "x A"
print "Found " + mb + "x U"
print "Found " + mc + "x R"
print "Found " + md + "x E"
print "Found " + me + "x L"