• 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
case and function names conventions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

case and function names conventions


  • Subject: case and function names conventions
  • From: "Rua Haszard Morris" <email@hidden>
  • Date: Thu, 9 Oct 2003 14:02:35 +1000

Hi,

I have a curious (fairly cosmetic problem): I have two files each defining
script objects (used as classes throughout other code). Each is a script
definition wrapped in a to make definition, i.e.:

--file Bus--
to makeBusWheel
script BusWheel
...
end script
end makeBus

--file BusDriver--
to MakeBusDriver
script BusDriver
...
end script
end makeBus

Note that the make is capitalised in only one of the files. I want to make
this consistent i.e. all "makeXxxXxx" OR all all "MakeXxxXxx", but every
time I rename the function, the case goes back to how it was when the file
is saved!

Any idea why or how to stop this?
Is it conventional applescript to define a class by wrapping a script defn
in a make defn, and if so, what are the conventions for the make name?

By the way, I'm using the Smile editor, BUT the problem also happens with
Project Builder, and Script Editor... OS version is 10.1.

Thanks in advance for any help,
Rua.

Rua Haszard Morris
Software Engineer & Research Assistant
MARCS Auditory Laboratories
http://www.uws.edu.au/marcs
Ph +61 2 97726723 Fax +61 2 97726326
_______________________________________________
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.

  • Follow-Ups:
    • Re: case and function names conventions
      • From: Paul Berkowitz <email@hidden>
    • Re: case and function names conventions
      • From: Dave Balderstone <email@hidden>
  • Prev by Date: Re: newbie question in Safari
  • Next by Date: default arguments/parameters
  • Previous by thread: Re: Finding RGB Images in QXP via script
  • Next by thread: Re: case and function names conventions
  • Index(es):
    • Date
    • Thread