Date: Mon, 18 Dec 2000 12:59:14 -0800 To: Michelle Steiner <email@hidden> From: Ted Wood <email@hidden> Subject: Re: Can someone explain this? Cc: Bcc: X-Attachments: I entered the following lines in a script. Set2be with to set not2be to false they compliled as Set2be with to set not2be to false Of course, there was an error when I tried to run the script. --Michelle To figure this out, you need to understand script objects and handler declarations. AppleScript assumed that "Set2be with to" was a call to another handler: on Set2be with someParam ---- some commands to execute end Set2be where 'someParam' is a parameter being sent to the handler. When you compiled the script, it compiled because the script was legal, but when it tried to find a handler for that particular call, it ended up giving you an error, since it couldn't find one. Hope this helps. Ted.
I entered the following lines in a script. Set2be with to set not2be to false they compliled as Set2be with to set not2be to false Of course, there was an error when I tried to run the script. --Michelle