# ScriptErrorCount

此錯誤變數會傳回目前指令碼執行期間造成錯誤的陳述式總數。此變數一律在指令碼開始執行時重設為 0。

語法：

ScriptErrorCount

## 瞭解更多資訊

* [錯誤變數](https://help.qlik.com/zh-TW/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVariables/ErrorVariables.htm)