• 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: Set Multiple variables to one value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set Multiple variables to one value


  • Subject: Re: Set Multiple variables to one value
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 30 Jul 2002 12:33:37 -0700

On 7/29/02 6:02 PM, "Stephen Swift (aka Burnum)" <email@hidden> wrote:

> Is it possible to set multiple variables to one value in one swoop?
>
> Instead of:
>
> set var1 to 30
> set var2 to 30
> set var3 to 30
> set var4 to 30
> set var5 to 30
>
> Is there a way of simplifying it down into something like "set every item in
> {var1, var2, var3, var4, var5} to 30"

set {var1, var2, var3, var4, var5} to {30, 30, 30, 30, 30}

--
Paul Berkowitz
_______________________________________________
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.

References: 
 >Set Multiple variables to one value (From: "Stephen Swift (aka Burnum)" <email@hidden>)

  • Prev by Date: Write to file??
  • Next by Date: Re: OS 9.2.2 with AS 1.8.3 question
  • Previous by thread: Set Multiple variables to one value
  • Next by thread: Re: Set Multiple variables to one value
  • Index(es):
    • Date
    • Thread