二、1 frm 2属性 3窗体模块 4标准模块 5类模块 6局部 7窗体 8全局 9所有 10 0<=x and X<100
三1 设计窗口、窗体设计器窗口、工程资源管理器窗口、属性窗口、工具箱窗口
(作用看名称翻译字面就行了)
2 事件是指可以由窗体或控件识别的操作。响应事件时,事件驱动应用程序执行指定的代码。
3一般步骤:a绘制窗体b设置属性c编写代码
4 一般来讲,编译时需要开辟内存的称为静态数组,运行时开辟内存的称为动态数组。
5内容较多,自己查一下资料,我不写了
五、1、frm1_click()
frm1.print "欢迎光临!"
end sub
2、dim TmpI as long
for TmpI=1 to 100
if TmpI/3=tmpi\3 then print tmpi
next tmpi
3 dim S(10) as long
dim TmpI as long,TmpS1 as long,Tmps2 As long
S(1)=
s(2)=
s(3)=
.......
S(10)= 以上为给数组赋值,我不写了,后面直接写数就行了
for tmp1=1 to 10
print S(tmp1)
next
tmpi=1
for Tmps1=10 to 1 step -1
fot tmps2=1 to tmps1-1
if S(tmps2)>S(tmps2+1) then
tmpi=S(Tmps2):S(tmps2)=S(Tmps2+1):S(tmps2+1)=tmpi
next tmps2
next tmps1
for tmpS1 =1 to 10
print S(tmps1)
next