Jump to content

Recommended Posts

Posted (edited)

ย  I have a question.

On 4/4/2012 at 6:32 PM, Chimaera said:

All code to be submitted must be run with this line and have no errors or warnings.

ย 

what is the -w- 7 parameters ?ย ย  and why it is with '-' after w

...ย  or refers to an older version of AutoIt and no needed any more !

ย 

screenshot:

forum2.png.85117f9fbdbdf7756143d40eb1f07300.png

ย 

I did not find relevant information.

Edited by ioa747

I know that I know nothing

  • ioa747 changed the title to what is the -w- 7 parameters in AutoIt3Wrapper ?
Posted

Hi @ioa747,

good question, maybe one of the developerย (@Jos, @jpm) could answer this ๐Ÿคž , I don't know too.
Thanks in advance, very interesting ๐Ÿ˜€ .

Best regards
Sven

==> AutoIt related: ๐Ÿ”— GitHub, ๐Ÿ”— Discord Server, ๐Ÿ”— Cheat Sheet

Spoiler

๐ŸŒย Au3Forums

๐ŸŽฒ AutoIt (en) Cheat Sheet

๐Ÿ“Š AutoIt limits/defaults

๐Ÿ’Ž Code Katas: [...] (comming soon)

๐ŸŽญ Collection of GitHub users with AutoIt projects

๐Ÿžย False-Positives

๐Ÿ”ฎย Me on GitHub

๐Ÿ’ฌย Opinion about new forum sub category

๐Ÿ“‘ย UDF wiki list

โœ‚ย VSCode-AutoItSnippets

๐Ÿ“‘ย WebDriver FAQs

๐Ÿ‘จโ€๐Ÿซย WebDriver Tutorial (coming soon)

Posted (edited)

I guess it was a typo in this thread post were you are referring to.
Because theย UDF wiki descriptionย shows this directive:

#AutoIt3Wrapper_AU3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7

To be honest I am a bit confused now what is the exact/correct set of parameters. Maybe they work identically no matter where the "-" is set.
But yes, what is "-w 7"?

Best regards
Sven

Edited by SOLVE-SMART

==> AutoIt related: ๐Ÿ”— GitHub, ๐Ÿ”— Discord Server, ๐Ÿ”— Cheat Sheet

Spoiler

๐ŸŒย Au3Forums

๐ŸŽฒ AutoIt (en) Cheat Sheet

๐Ÿ“Š AutoIt limits/defaults

๐Ÿ’Ž Code Katas: [...] (comming soon)

๐ŸŽญ Collection of GitHub users with AutoIt projects

๐Ÿžย False-Positives

๐Ÿ”ฎย Me on GitHub

๐Ÿ’ฌย Opinion about new forum sub category

๐Ÿ“‘ย UDF wiki list

โœ‚ย VSCode-AutoItSnippets

๐Ÿ“‘ย WebDriver FAQs

๐Ÿ‘จโ€๐Ÿซย WebDriver Tutorial (coming soon)

Posted

The strange thing is that in the thread they have used it a lot.ย  What can I say?ย  ...simply from copy paste?

I know that I know nothing

Posted (edited)

Oops I just found out I'm in the wrong thread

someone move me inย  AutoIt Help and Supportย forums.

Edit:

No, I moved you to "Technical Discussion" because this is where this type of question should be!

M23

Edited by Melba23

I know that I know nothing

Posted

From au3check.exe itself

au3check -help

ย 

Quote

AutoIt3 Syntax Checker v3.3.16.1 ย Copyright (c) 2007-2022 Tylo & AutoIt Team

Usage: Au3Check [-q] [-d] [-w[-] n]... [-v[-] n]... [-I dir]... file.au3
ย  ย  ย  ย  ย  ย  -q ย  ย  ย  ย : quiet (only error/warn output)
ย  ย  ย  ย  ย  ย  -d ย  ย  ย  ย : as Opt("MustDeclareVars", 1)
ย  ย  ย  ย  ย  ย  -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)
ย  ย  ย  ย  ย  ย  -w 7 ย  ย  ย : warn when passing Const or expression on ByRef param(s) (on)
ย  ย  ย  ย  ย  ย  -v 1 ย  ย  ย : show include paths/files (off)
ย  ย  ย  ย  ย  ย  -v 2 ย  ย  ย : show lexer tokens (off)
ย  ย  ย  ย  ย  ย  -v 3 ย  ย  ย : show unreferenced UDFs and global variables (off)
ย  ย  ย  ย  ย  ย  -I dir ย  ย : additional directories for searching include files

ย  ย  ย  ย Exit codes:
ย  ย  ย  ย  ย  ย  ย 0 ย  ย  ย  ย : success - no errors or warnings
ย  ย  ย  ย  ย  ย  ย 1 ย  ย  ย  ย : warning(s) only
ย  ย  ย  ย  ย  ย  ย 2 ย  ย  ย  ย : syntax error(s)
ย  ย  ย  ย  ย  ย  ย 3 ย  ย  ย  ย : usage or input error
ย 

ย 

Posted

Thanks to both of you, @Nineย and @OJBakkerย ๐Ÿ‘ . That was just too simple ๐Ÿ˜… .

  • But this also means, that the "-w 7" parameter is missing in the GUI (see first post).
  • The syntax of listing the parameters is also wrong in the first post, as in several other threads in the forum, am I right?

Anyway, thanks for the information.

Best regards
Sven

==> AutoIt related: ๐Ÿ”— GitHub, ๐Ÿ”— Discord Server, ๐Ÿ”— Cheat Sheet

Spoiler

๐ŸŒย Au3Forums

๐ŸŽฒ AutoIt (en) Cheat Sheet

๐Ÿ“Š AutoIt limits/defaults

๐Ÿ’Ž Code Katas: [...] (comming soon)

๐ŸŽญ Collection of GitHub users with AutoIt projects

๐Ÿžย False-Positives

๐Ÿ”ฎย Me on GitHub

๐Ÿ’ฌย Opinion about new forum sub category

๐Ÿ“‘ย UDF wiki list

โœ‚ย VSCode-AutoItSnippets

๐Ÿ“‘ย WebDriver FAQs

๐Ÿ‘จโ€๐Ÿซย WebDriver Tutorial (coming soon)

  • Developers
Posted
31 minutes ago, SOLVE-SMART said:

But this also means, that the "-w 7" parameter is missing in the GUI (see first post).

Is added to the current Beta of AutoIt3Wrapper.au3. ;)ย 

SciTE4AutoIt3 Full installer Download page ย  -ย Beta filesย  ย  ย  ย Read before postingย  ย  ย How to post scriptsourceย ย ย Forum etiquetteย  Forum Rulesย 
ย 
Live for the present,
Dream of the future,
Learn from the past.
ย  :)

  • 1 month later...
Posted (edited)
On 1/11/2023 at 8:10 AM, ioa747 said:

and why it is with '-' after w

ย 

On 1/11/2023 at 10:23 AM, SOLVE-SMART said:

Maybe they work identically no matter where the "-" is set.

ย 

I just found out, theย  '-'ย  it cancel the parameter

which means that in the following it does nothing the the -w- 4 and the -w- 7

#AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7

ย 

informational only :)

Edited by ioa747

I know that I know nothing

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...