加入我的最爱 设为首页 风格修改
首页 首尾
 手机版   订阅   地图  繁体 
您是第 4783 个阅读者
 
发表文章 发表投票 回覆文章
  可列印版   加为IE收藏   收藏主题   上一主题 | 下一主题   

头像
个人文章 个人相簿 个人日记 个人地图
路人甲
级别: *
推文 x 鲜花 x
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片
推文 x0
[Asp][讨论] 读取变数有问题


献花 x0 回到顶端 [楼 主] | Posted:2006-01-07 23:36 |
kevinkuo 手机
个人头像
个人文章 个人相簿 个人日记 个人地图
特殊贡献奖 终身成就奖
小有名气
级别: 小有名气 该用户目前不上站
推文 x1 鲜花 x76
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

select case ran(inti) 这个地方应该是你要输入的判断条件

case 是你所对应的值

所以你的程式要修改成下面这样

<%
dim inti,intj,intfrequency
intfrequency=0
for inti=0 to 4 step 1
  select case ran(inti)
  case 1: intfrequency=intfrequency+1
  case 2: intfrequency=intfrequency+1
  case 3: intfrequency=intfrequency+1
  case 4: intfrequency=intfrequency+1
  case 5: intfrequency=intfrequency+1
  case 6 intfrequency=intfrequency+1
  case 7: intfrequency=intfrequency+1
  case 8: intfrequency=intfrequency+1
  case 9: intfrequency=intfrequency+1
  case 0: intfrequency=intfrequency+1
  end select
next
response.write(intfrequency)
%>


献花 x0 回到顶端 [1 楼] From:台湾中华电信 | Posted:2006-02-07 09:52 |

首页  发表文章 发表投票 回覆文章
Powered by PHPWind v1.3.6
Copyright © 2003-04 PHPWind
Processed in 0.038537 second(s),query:16 Gzip disabled
本站由 瀛睿律师事务所 担任常年法律顾问 | 免责声明 | 本网站已依台湾网站内容分级规定处理 | 连络我们 | 访客留言