Re: lots of statements after "then" of "if"
Re: lots of statements after "then" of "if"
- Subject: Re: lots of statements after "then" of "if"
- From: Walter Ian Kaye <email@hidden>
- Date: Tue, 9 Sep 2003 09:23:51 -0700
At 11:19p +0900 09/09/2003, micro-people didst inscribe upon an
electronic papyrus:
well yes am posting this to beg for your idea
to make the script look more smarter
if sarigama = 1 then set pada to (26 + 12 * (random number from
0 to 3)) as text
if sarigama = 2 then set pada to (28 + 12 * (random number from
0 to 3)) as text
if sarigama = 3 then set pada to (30 + 12 * (random number from
0 to 3)) as text
if sarigama = 4 then set pada to (33 + 12 * (random number from
0 to 3)) as text
if sarigama = 5 then set pada to (35 + 12 * (random number from
0 to 3)) as text
set pada to ((item sarigama of {26,28,30,33,35}) + 12 * (random
number from 0 to 3))
if sarigama = 1 then set nisa to "[[pbas " & pada & "]]Sa"
if sarigama = 2 then set nisa to "[[pbas " & pada & "]]Ri"
if sarigama = 3 then set nisa to "[[pbas " & pada & "]]Ga"
if sarigama = 4 then set nisa to "[[pbas " & pada & "]]Pa"
if sarigama = 5 then set nisa to "[[pbas " & pada & "]]Da"
set nisa to "[[pbas " & pada & "]]" & item sarigama of
{"Sa","Ri","Ga","Pa","Da"}
-Walter
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.