• 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: Bridge anyone? [not off topic]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bridge anyone? [not off topic]


  • Subject: Re: Bridge anyone? [not off topic]
  • From: nino petriliggieri <email@hidden>
  • Date: Sun, 21 Nov 2004 10:44:41 +0100

>
>> set r to random number from 1 to 2
>> if r is equal to 1 then
>> set end of newDeck to contents of x
>> else
>> set beginning of newDeck to contents of x
>> end if
>>
>
> [snip]
>
>> There must be a quicker way of doing the if/else bit, but I can¹t
>> think of
>> it at the moment :-\
I'm in digest mode and some times I read the discussion very late, so here
are my two cents of contribution to this very interesting tread.

The if/else part can be substituted by:

set contents of some item of {a reference to beginning of newDeck, a
reference to end of newDeck} to contents of x

nino

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bridge anyone? [not off topic]
      • From: Michael Grant <email@hidden>
  • Prev by Date: Re: Deleting last item of a List
  • Next by Date: Re: Deleting last item of a List
  • Previous by thread: Re: Bridge anyone? [not off topic]
  • Next by thread: Re: Bridge anyone? [not off topic]
  • Index(es):
    • Date
    • Thread