Page 1 of 1

錯誤怎麼處理  Topic is solved

Posted: 07 Jan 2024, 10:46
by Andre8569
Errror at line 2.

The foollowing variable name contains an illegal character:
"&MouseX"

The program will exit

Re: 錯誤怎麼處理

Posted: 10 May 2024, 01:38
by AutoMT
你没有给出完整的代码,错误提示是说变量名中含有非法字符。
标识符只能由字母或下划线开头,你这个变量&MouseX,以&字符开头,所以报错了。

Re: 錯誤怎麼處理

Posted: 10 May 2024, 02:24
by gregster