• 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: Passing *possible* variables to a handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing *possible* variables to a handler


  • Subject: Re: Passing *possible* variables to a handler
  • From: "Arthur J. Knapp" <email@hidden>
  • Date: Fri, 12 Jul 2002 18:15:48 -0400

> Date: Fri, 12 Jul 2002 09:14:34 -0700
> From: Landis <email@hidden>
> Subject: Re: Passing *possible* variables to a handler

Nigel Garvey:

>> {varC:27} & {varC:3, varD:4}
>> --> {varC:27, varD:4}


> Thank you Nigel and Arthur for pointing this out to me. You should
> see the number of try blocks I used to get this to work w/o that!

While I was responding to your posting, I discovered something
interesting:

set r to {a:1, b:2, c:3}

test(r)


on test(r)

script o
property parent : r
end

o's a --> 1
o's b --> 2
o's c --> 3

end

ie: script objects are perfectly happy to accept records as their parent:

script obj

property parent : {var1:"val1", var2:"val2"}

end

var1 of obj --> "val1"

If someone can find a truely useful purpose for this, please let me
know.


{ Arthur J. Knapp, of <http://www.STELLARViSIONs.com>
a r t h u r @ s t e l l a r v i s i o n s . c o m
}
_______________________________________________
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.

  • Prev by Date: Re: FM Pro ?
  • Next by Date: Postscript from Quark
  • Previous by thread: Re: Passing *possible* variables to a handler
  • Next by thread: Re: Passing *possible* variables to a handler
  • Index(es):
    • Date
    • Thread