• 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: Nigel Garvey <email@hidden>
  • Date: Tue, 9 Nov 2004 16:49:33 +0000

David Andrews wrote on Mon, 8 Nov 2004 21:17:43 -0500:

>copy {emptyHand, emptyHand, emptyHand, {}} to {north, east, south, west}
>
>repeat 13 times
>	set c to (some integer of dealt)
>	set item c of dealt to missing value
>	set item c of north to item c of deck
>	set c to (some integer of dealt)
>	set item c of dealt to missing value
>	set item c of east to item c of deck
>	set c to (some integer of dealt)
>	set item c of dealt to missing value
>	set item c of south to item c of deck
>end repeat
>
>set north to every Unicode text of north
>set east to every Unicode text of east
>set south to every Unicode text of south
>
>set dealt to every integer of dealt
>repeat with c in dealt
>	set end of west to item c of deck
>end repeat

An interesting development. *Implied* random selection of one hand's
cards. Seems to work. :-)

NG
 _______________________________________________
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: David Andrews <email@hidden>
  • Prev by Date: Re: AppleScript and Safari
  • Next by Date: Re: AppleScript and Safari
  • Previous by thread: Re: Bridge anyone? [not off topic]
  • Next by thread: Re: Bridge anyone? [not off topic]
  • Index(es):
    • Date
    • Thread