打印

[asp] 基础问题

if right(rsAds7("Ad_Picture"),3)="swf" then
              Response.write "<object classid=""clsid27CDB6E-AE6D-11CF-96B8-444553540000"" id=""obj1"" codebase=""http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"" border=""0"" width="""&rsAds7("Ad_PictureWidth")&""" height="""&rsAds7("Ad_PictureHeight")&""">"
              Response.write "<param name=""movie"" value="""&rsAds7("Ad_Picture")&""">"
              Response.write "<param name=""quality"" value=""High"">"
              Response.write "<embed src="""&rsAds7("Ad_Picture")&""" pluginspage=""http://www.macromedia.com/go/getflashplayer"" type=""application/x-shockwave-flash"" name=""obj1"" width="""&rsAds7("Ad_PictureWidth")&""" height="""&rsAds7("Ad_PictureHeight")&"""></object>"
              Response.write "<br>"

随便摘了一段代码,
想问下为什么Response.write要多次写,
为什么不一个Response.write输出完?是为了代码好读还是有其他原因,谢谢
效率和习惯问题!
在效率上有什么区别吗?
效率基本可以忽略
为了好读
因为asp不支持多行-_-
你风流,我俊雅,和你同年少,两情深,罚下愿,再不去跳槽。

TOP

还在为头像烦恼?还在为不能关注好友动态烦忧?快来蓝色理想家园吧!