• 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: Help with Logic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with Logic


  • Subject: Re: Help with Logic
  • From: Daniel Rodrigue <email@hidden>
  • Date: Tue, 02 Mar 2010 18:43:03 -0500

Hi Rikki,

Deivy's "repeat" answered the first part of your question perfectly.

Adding to Deivy's solution here the second part of your question:

set OUTPUTSTRING to {}

repeat with x from 1 to 97
set {tBool, tPNo} to {(x mod 10) = 0, (x div 10)}
if tBool then set OUTPUTSTRING's end to "<a href=||" & "caraccessories_page" & tPNo & ".html||>" & (x - 9) & "-" & x & "</a>"
end repeat


return (OUTPUTSTRING & "||") as string

Regards,

Dan

--/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\--
Daniel Rodrigue / Simple & Logik
Vox: 450-468-5726 • cel: 514-996-5726
1261 rue Bourgeoys, Longueuil  (Québec) Canada J4M 1Z5
••••••••••••••••••••••••••••••••••••••••••••••••••••••
“Quidquid latine dictum sit, altum sonatur.”
“Peu importe, dit en latin ça sonne profond.”
“Whatever is said in Latin sounds profound.”
--\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/--

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Help with Logic (From: Richard Lake <email@hidden>)
 >Re: Help with Logic (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: Help with Logic
  • Next by Date: Re: Download "Verification Failed" error
  • Previous by thread: Re: Help with Logic
  • Next by thread: Re: Download "Verification Failed" error
  • Index(es):
    • Date
    • Thread