本帖最后由 aosaopm 于 2013-1-17 22:39 编辑
"Illegal text at the end of statement (one statement per line).:"
不知道是问题出在哪里,光看代码找不出啥问题,下面是程序跑到出错的地方,请各位高手帮忙看看是啥问题,多谢了
Run(@ComSpec & " /c " & 'GraphicsManager -page=28 -PerfCounterConfig='& $im_AGM_Config_File, "C:\Program Files\Graphics Manager", @SW_HIDE)
If WinWait("Performance Counter Monitor","",5) <> 0 Then
If FileExists($GM_Log_Dir)=0 Then
DirCreate($GM_Log_Dir)
EndIf
SplashTextOn("Warning", "WRONG GM ini file found" & @CRLF & @CRLF & "Test will continue without GM", 350, 120, @DesktopWidth - 360, @DesktopHeight - 192, 6, "Comic Sans MS", 9, 400)
Sleep(1000)
_FileWriteLog($GM_Log, "Fail to load .ini config file: mismatch!")
Sleep(1000)
.......
第一行的Run函数会不会报这个错呢? Graphics Manager是一个程序,我所调用的,-page和-PerfCounterConfig为其后缀参数 |