我的脚本中出现以下错误:
==>未知的功能名称。:
基本上我有这个:
Local $sFoo_01 = "Z:\Foo\3\"
Local $sFoo_02 = "Z:\Foo\6\"
Local $sFoo_03 = "Z:\Foo\8\"
Local $sFoo_04 = "Z:\Foo\9\"
Func Test()
Local $aFooNew_01 = _FileListToArray($sFoo_01, "*")
Local $aFooNew_02 = _FileListToArray($sFoo_02, "*")
Local $aFooNew_03 = _FileListToArray($sFoo_03, "*")
Local $aFooNew_04 = _FileListToArray($sFoo_04, "*")
...
EndFunc
...
Local $aFooNew_01 = _FileListToArray($sFoo_01, "*")
Local $aFooNew_02 = _FileListToArray($sFoo_02, "*")
Local $aFooNew_03 = _FileListToArray($sFoo_03, "*")
Local $aFooNew_04 = _FileListToArray($sFoo_04, "*")
错误:
Local $aFooNew_01 = _FileListToArray($sFoo_01, "*")
^ Error
答案 0 :(得分:0)
_FileListToArray 函数作为用户定义的函数包含在内。因此,您必须在脚本的标题中编写#include <File.au3>
才能使其正常工作。