我使用 Google Apps 脚本在 Google 电子表格中自定义了一个菜单。
我遇到的问题是,当我按脚本管理器时,我正在使用的所有辅助函数都会列出。
我想隐藏它们,我读过如果我在函数名称末尾加下划线,但它不起作用。
From documentation http://code.google.com/intl/es/googleapps/appsscript/guide_writing_scripts.html they say that the underscore at the end makes that the function is only callable from another function and not the editor, but as you can see in the image, it is not working for me:
下划线的作用只是禁止函数显示在“从脚本编辑器运行”下拉列表中。
运行函数。任何函数都可以直接从脚本编辑器调用,但名称以下划线结尾的函数除外,这些函数只能从其他函数调用。
您无法在脚本编辑器中隐藏代码。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)