Re: Scope riddle I can't seem to solve. (Probably very easy to solve for an experienced coder)
Re: Scope riddle I can't seem to solve. (Probably very easy to solve for an experienced coder)
- Subject: Re: Scope riddle I can't seem to solve. (Probably very easy to solve for an experienced coder)
- From: Christopher Stone <email@hidden>
- Date: Wed, 19 Mar 2014 17:26:09 -0500
On Mar 19, 2014, at 06:48, Alastair Leith < email@hidden> wrote: Okay I got it done this way:
tell me paste_cells_into_Excel_and_Process(cellText, rowCounter)end tell
______________________________________________________________________
There's no need to use a tell-block unless it enhances readability or multiple statements are involved.
my paste_cells_into_Excel_and_Process(cellText, rowCounter)
OR
paste_cells_into_Excel_and_Process(cellText, rowCounter) of me
I thought I'd already tried that but obviously not correctly :-)
That happens from time to time. ;-) I'm very interested if anyone has any philosophical, style guide or optimisation type answers and/or preferences to the question of when to use tell blocks. And how to use tell blocks in nested or unnested ways (pref for parallel or series usage).
What AppleScript books do you have?
The two books I recommend most often are:
-- Best Regards, Chris
|
_______________________________________________
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