輸入:變量名=inputbox("內(nèi)容")
if語句:基礎(chǔ):if 表達(dá)式 then 表達(dá)式??例:if a="1" then msgbox "1"
進(jìn)階(else):
if 表達(dá)式 then
表達(dá)式
else 表達(dá)式
end if
字符串強(qiáng)制轉(zhuǎn)化為整數(shù):變量=CDbl(變量)