On Aug 23, 2009, at 9:20 AM, Edwards, Waverly wrote: > When a list of errors comes up in the errors window, you can not > copy the error message to the clipboard. True. As a workaround, copy/paste from the FBtoC log window. > I received the following error. It would be more helpful if error > message would direct me to where the syntactical error is. Usually it does; Undefined vars etc. are pointed out explicitly. An "unknown statement" error message that shows just the local fn line of a function typically means there is a syntax error in the structure of the local fn statement itself. I can't promise a fix for this. > > local fn fn WindowEventHandler( nextHandler as EventHandlerCallRef, > theEvent as EventRef, userData as Ptr ) = OSStatus > // ... > end fn The double "fn fn" as coded also does not produce an explicit error message. Brian S.