Re: Why do I get this error?
Re: Why do I get this error?
- Subject: Re: Why do I get this error?
- From: "Adam Bell" <email@hidden>
- Date: Thu, 20 Apr 2006 10:32:11 -0300
While these are easy to see in a displayed dialog or event log, I have not been able to save theDeal as text that I could decipher with different encodings. What font are the card symbols in?
On 4/20/06, kai <email@hidden> wrote:
On 20 Apr 2006, at 09:07, I wrote:
> Introducing parentheses should cause a change in the sequence of
> evaluation and fix the error:
Incidentally, another way to do this might be:
------
script make_pack (* just for fun *)
set p to {}
repeat with s in «data utxt2660266126632662» as Unicode text
repeat with c in {"A", "K", "Q", "J", "10", "9", "8", "7", "6",
"5", "4", "3", "2"}
set p's end to c & s
end repeat
end repeat
p
end script
property newPack : run make_pack
set thePack to newPack's items
set theDeal to {}
set theLength to count thePack
repeat until theLength is 0
set foo to random number from 1 to theLength
set end of theDeal to item foo of thePack
set item foo of thePack to missing value
set thePack to thePack's text
set theLength to count thePack
end repeat
theDeal
------
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
--
Some minds remain open long enough for a truth to both enter and leave without processing.
_______________________________________________
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