how are variables passed from functions?

Bob Sneidar bobsneidar at iotecdigital.com
Fri Nov 14 14:37:39 EST 2014


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 <jacque at hyperactivesw.com<mailto:jacque at 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         |     jacque at hyperactivesw.com<mailto:jacque at hyperactivesw.com>
HyperActive Software           |     http://www.hyperactivesw.com<http://www.hyperactivesw.com/>




More information about the use-livecode mailing list