• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: repeat question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: repeat question


  • Subject: Re: repeat question
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 12 Dec 2001 15:17:39 -0700

On 12/12/01 2:44 PM, Thomas Myers <email@hidden> wrote:

>Does anyone know how to continue in a repeat statment without exiting.
>
>repeat with aLine in {1,2,3,4}
>if aLine = 3 then
> continue
>end if
>log aline
>end repeat
>
>
>So what I want in this example is only 1, 2 and 4 logged out.

repeat with aLine in {1, 2, 3, 4}
if contents of aLine is not 3 then
log aLine
end if
end repeat

--> (*1*)
(*2*)
(*4*)

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Prev by Date: Re: Regarding Quark Image box problem
  • Next by Date: Re: Summarize anything? [Followup]
  • Previous by thread: Re: repeat question
  • Next by thread: Re: repeat question
  • Index(es):
    • Date
    • Thread