Hi, I�m new to MetaCard, just trying to set up a loop that searches
through a field.

Is there a way to set the increment of a repeat loop?

The aim is to search every 3rd line of a field for a number. I thought
of something like:

put fld "schedule" into fldVar
repeat with i = 1 to the number of lines of fldvar >step 3 ?<
    repeat with j = 1 to the number of words of line i of fldVar
        if word j of line i of fldvar is a number then put word j of
line i of fldvar after hoursVar(i)
    end repeat
end repeat


Thanks for any advice


Sven

Reply via email to