well i didnt put a label called gotit in my code snippet
so after the wend you need a label (with a colon)
ie
gotit:
and carry on from there
----------
bob, yor are probably right about using do loop construct
i learned pascal originally and there was only
while {condition} - test at top
begin
{statements}
end
repeat
until {condition} - test at end - therefore runs loop at least once
---------
i guess you stay with what you are used to ..
-----------
but there was
as well as for x=1 to 10
you could have for x="A" to "Z"
and you could use set constructs, so you could have
if x in ("A" .. "D"), in code
I miss them!