谁能为我提供些vb的语句,越多越好,不要教程,直接写上语句即可

来源:百度知道 编辑:UC知道 时间:2024/07/05 05:14:49
好的话追分
大哥,写上解释啊

晕,这也要解释。难道要我翻译成中文?
if then else 如果。。。那么。。。否则
select case选择。。。分之
do while loop 做*当*成立,循环
goto 转到(标签)
break 跳出
continue 继续
doevents 留出时间让系统使用CPU
instr() 查找字符串
msgbox 弹出窗口
inputbox 输入窗口
print 打印
for next 循环
for each 变量 in 组 next 对每一个在组中的变量循环
mid() 取字符串
replace() 替换字符串
open 文件 for input as #1 以input方式打开文件,并且文件号是1
line input #1,linetxt读入文件号为1的文件的一行,并保存在linetxt变量中
do while not eof(1)如果文件号为1的文件没有结束就执行下列循环
alltxt=alltxt & linetxt & vbnewline 把变量linetxt中的内容存入变量alltxt里面,并添加一个换行符
loop 循环
close #1 关闭文件号为1的文件