Re: Why do I get this error?
Re: Why do I get this error?
- Subject: Re: Why do I get this error?
- From: kai <email@hidden>
- Date: Thu, 20 Apr 2006 10:09:33 +0100
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:
This email sent to email@hidden