爱问知识人 爱问教育 医院库

public sub swap(x as integer,y as integer)

首页

public sub swap(x as integer,y as integer)

public sub swap(x as integer,y as integer)
         dim as integer
         t=x:x=y:y=t
         end sub
 private sub command1_click()
        dim a as integer ,b as integer
         a=10:b=20
         swap1a,b
          print"a1=";a,"b1=";b
         a=10:b=20
          swap2a,b
          print"a2=";a,"b2=";b
          end sub
输出结果是多少?

提交回答
好评回答
  • 2007-07-07 14:23:28
    就算您做出了修改,还是全是错误。
    错误1:
    swap1a,b    此为何意?
    错误2:
    swap2a,b    此又为何意?
    因此,输出结果是:
    输出结果是: 
    子程序或函数未定义 
    swap1 swap2 两个函数无明确定义

    韵***

    2007-07-07 14:23:28

类似问题

换一换
  • VB 相关知识

  • 电脑网络技术
  • 电脑网络

相关推荐

正在加载...
最新问答 推荐信息 热门专题 热点推荐
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200

热点检索

  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 172-191
返回
顶部
帮助 意见
反馈

确定举报此问题

举报原因(必选):