语句“Print 5\5 * 5”的输出结果是( )。
A: MsgBox vbOKOnly, "Error"
B: MsgBox "Error", vbOKOnly
C: MsgBox(VbOkOnly,"Error")
D: MsgBox ("Error",VbOkOnly)
A: MsgBox vbOKOnly, "Error"
B: MsgBox "Error", vbOKOnly
C: MsgBox(VbOkOnly,"Error")
D: MsgBox ("Error",VbOkOnly)
举一反三
- 以下程序的输出结果是:a =10b =1try:c=b//(b/a)print(except (IOError ,ZeroDivisionError):print( " calculation error" )else:print(" no error" )} A: calculation error B: no error C: 9.0 D: 9.0no error
- if you buy a 100-square-meter house, the area that the developer finally delivered is 5 square meters less, then the correct one in the error description of the actual area is ( ). A: the absolute error is 0.05 B: The relative error is 0.05 C: the absolute error is -5 square meters D: The relative error is -0.05
- 下列命令中不能在信息框中输出“VB”的是 A: MsgBox "VB" B: x=MsgBox("VB") C: MsgBox("VB") D: Call MsgBox "VB"
- MsgBox函数与MsgBox语句的区别就是有返回值
- 下列不属于VBA提供的On Error语句形式为()。 A: On Error Goto标号 B: On Error Then 标号 C: On Error Resume Next D: On Error Goto 0