• 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: Briskets / English
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Briskets / English


  • Subject: Re: Briskets / English
  • From: Erik Price <email@hidden>
  • Date: Thu, 16 May 2002 08:57:26 -0400

On Wednesday, May 15, 2002, at 05:17 PM, Matthew Stuckwisch wrote:

I've been thinking about dot syntax and it's possibilities in AppleScript.
Honestly, it -could- be implemented without breaking ANY scripts. Try this in Script Editor:

on dr.Mario(nursePeach)
--Let's try to compile this
end dr.Mario

If you compile it, it will error. This being on the latest beta of AS, I don't think it would -too- hard to allow "x.y" for "x's y" since that's almost the difference between "is equal to" and "=", but I'm not an expert at AS's internals so I can't say for sure. Might be a thing for the AS engineers to keep in mind.

One could even write a script to convert all "x.y" syntax to "x's y" that runs before each script runs.

This would be pretty educational, in fact -- writing such a script would be a good exercise in getting used to the "x's y" syntax of AS, since you'd ideally write the conversion script to be able to determine when it is appropriate to convert and when it isn't (for instance, in floating point numbers you wouldn't want "46.8" to become "46's 8").



Erik




----

Erik Price
Web Developer Temp
Media Lab, H.H. Brown
email@hidden
_______________________________________________
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: 
 >Re: Briskets / English (From: Matthew Stuckwisch <email@hidden>)

  • Prev by Date: Scripting ASIP Print Admin
  • Next by Date: RE: Mounting Shares
  • Previous by thread: Re: Briskets / English
  • Next by thread: Re: Briskets / English
  • Index(es):
    • Date
    • Thread