基本结构

数据输入

n=val(text1.text)
x=val(inputbox(“输入x”))

数据输出

msgbox(提示)

多分支

if 表达式 then
语句块
elseif 表达式 then
语句块
else

endif

更多推荐

Visual Basic 6.0 菜鸟手册