minghui 发表于 2010-8-26 16:07:56

#AutoIt3Wrapper_au3check_parameters= 这句是什么意思

#AutoIt3Wrapper_au3check_parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
上面这句是什么意思,在脚本开头加上这句要,变量都要申明一下才可以用,有些不太明白

xjdjpbp 发表于 2010-8-26 16:16:15

本帖最后由 xjdjpbp 于 2010-8-26 16:17 编辑

官網的解釋

Usage: Au3Check [-q] [-d] [-u file] [-w[-] n].. [-v[-] n].. [-I dir].. file.au3
-q : quiet (only error/warn output)
-d : as Opt("MustDeclareVars", 1)
-I dir : additional directories for searching include files
-U -|file : output unreferenced UDFs and global variables
-w 1 : already included file (on)
-w 2 : missing #comments-end (on)
-w 3 : already declared var (off)
-w 4 : local var used in global scope (off)
-w 5 : local var declared but not used (off)
-w 6 : warn when using Dim (off)
-v 1 : show include paths/files (off)
-v 2 : show lexer tokens (off)
Exit codes:
0 : success - no errors or warnings
1 : warning(s) only
2 : syntax error(s)
3 : usage or input error

lsqyx528 发表于 2010-8-26 16:20:26

回复 2# xjdjpbp


    不错,学习了!!

minghui 发表于 2010-8-26 16:24:22

谢谢了,虽然还看不太懂
页: [1]
查看完整版本: #AutoIt3Wrapper_au3check_parameters= 这句是什么意思