Re: Bridge anyone? [not off topic]
Re: Bridge anyone? [not off topic]
- Subject: Re: Bridge anyone? [not off topic]
- From: kai <email@hidden>
- Date: Fri, 5 Nov 2004 07:59:16 +0000
On Thu, 04 Nov 2004 11:01:37 +0000, Martin Orpen wrote:
[snip]
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 :-\
Though still an if/else routine, this more direct approach is faster,
Martin:
----------------------------------
if some item of {true, false} then
set newDeck's end to contents of x
else
set newDeck's beginning to contents of x
end if
----------------------------------
---
kai
_______________________________________________
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