找回密码
 加入
搜索
查看: 1832|回复: 3

[AU3基础] #AutoIt3Wrapper_au3check_parameters= 这句是什么意思

[复制链接]
发表于 2010-8-26 16:07:56 | 显示全部楼层 |阅读模式
#AutoIt3Wrapper_au3check_parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
上面这句是什么意思,在脚本开头加上这句要,变量都要申明一下才可以用,有些不太明白
发表于 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
发表于 2010-8-26 16:20:26 | 显示全部楼层
回复 2# xjdjpbp


    不错,学习了!!
 楼主| 发表于 2010-8-26 16:24:22 | 显示全部楼层
谢谢了,虽然还看不太懂
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-22 01:13 , Processed in 0.075977 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表