这里会显示出您选择的修订版和当前版本之间的差别。
— |
api:easp.printend [2018/08/15 08:51] (当前版本) |
||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== Easp.PrintEnd 方法 ====== | ||
+ | 简单输出字符串并终止程序运行 | ||
+ | ===== 语法 ===== | ||
+ | <sxh asp>Easp.PrintEnd string</sxh> | ||
+ | ===== 参数 ===== | ||
+ | ^//**string**//|<wrap lo>String (字符串)</wrap>| | ||
+ | |:::|要输出的字符串| | ||
+ | ===== 返回值 ===== | ||
+ | >''无返回值'' | ||
+ | ===== 注释 ===== | ||
+ | >Easp.PrintEnd 等于: | ||
+ | >''Response.Write(str & "<br/>")'' | ||
+ | >''Response.End()'' | ||
+ | ===== 示例 ===== | ||
+ | <sxh asp;title:demo.asp> | ||
+ | Easp.PrintEnd "<font color=""red"">Color test.</font>" | ||
+ | </sxh> | ||
+ | 在浏览器查看效果: | ||
+ | ><wrap em>Color test.\\ \\ </wrap> | ||
+ | 如果在源代码中查看结果,会是下面这样: | ||
+ | ><font color="red">Color test.</font><br /> |