Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一些 ASP 页面,有时不同的页面具有相同的名称功能。<!-- #include -->如果我只有用户请求的一页,我不明白为什么这些函数会随机反应(不执行,错误说已经定义等) 。我猜它不应该给我一个错误...... 有人可以解释一下吗?
<!-- #include -->
听起来很明显,但您确定每页只包含一次所需的功能页面,并且您没有包含本身包含声明变量的功能页面的页面吗?
还要检查有问题的变量是否没有在出错的页面上出于其他目的而声明。
(我之所以这么说是因为这是我经常犯规的事情)