TA的每日心情 | 开心 2016-8-25 11:11 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
Function JPG_DrawEllipseAndString(filename,str,leftlen,toplen,rightlen,bottomlen)
End Function
执行语句:
JPG_DrawEllipseAndString("C:\org.jpg","LantianWei",100,200,500,400)
结果出错:
Run Error
The test run cannot continue due to a syntax error.
调用过程(sub)时不能使用括号
details<<
Line (56): "JPG_DrawEllipseAndString ("C:\org.jpg","LantianWei",100,200,500,400)".
执行语句:
JPG_DrawEllipseAndString "C:\org.jpg","LantianWei",100,200,500,400
去掉括号可运行
调用函数什么时间可以加括号,什么时间不加括号? 跟参数有关吗? |
|