ASP Classic中的注释代码 [英] Commenting code in ASP Classic

查看:51
本文介绍了ASP Classic中的注释代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道在 ASP Classic 中散列代码的方式是<%--%> .这是正确的吗?还是有另一种方法?

The way I know of hashing out code within ASP Classic is <%-- --%>. Would this be correct? Or is there another way?

推荐答案

使用单引号,例如:

' This is comment

ASP Classic使用 VBScript /Visual Basic语言,并且单引号对此进行了注释;<%-无关紧要(尽管我不确定100%).

ASP Classic uses the VBScript/Visual Basic language, and a single quote is commenting in that; <%-- is nothing (I am not 100% sure though).

这篇关于ASP Classic中的注释代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆