including source code
including source code
- Subject: including source code
- From: Jim Brandt <email@hidden>
- Date: Fri, 20 Feb 2009 14:22:22 -0600
OK, so I've been writing scripts off and on (more off than on) for
maybe ten years now. While I first explored AS under OS9, I jumped
to OneClick because I found it more consistant back then. When OSX
became the OS of choice, I was forced to redo everything in AS.
The road has been challanging, but enlightening.
My question has to do with reusable code. Currently I have a half dozen
handlers that I keep in a single file and load using a "load script"
command. However, this means I load a fair amount of source code
that I may not need for the particular script I'm writing, in order to
get a single function that I do need. Is there a better way to do this?
Would I be better off loading each handler as a seperate piece of code?
Is there another option?
TIA, Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden