I agree with you Jacque. I think the only workaround is when creating a function, immediately enter the return command before scripting anything else. This will prevent the inadvertent exclusion of a return command
Bob S On Nov 14, 2014, at 10:28 , J. Landman Gay <jac...@hyperactivesw.com<mailto:jac...@hyperactivesw.com>> wrote: Boy, I don't know. It seems wrong to me. The scope of a variable is supposed to be handler-specific unless declared otherwise, and "myVar2" should not be available outside of double(). -- Jacqueline Landman Gay | jac...@hyperactivesw.com<mailto:jac...@hyperactivesw.com> HyperActive Software | http://www.hyperactivesw.com<http://www.hyperactivesw.com/> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode