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

Stay innovative!

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

Stay innovative!

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

Stay innovative!

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...