Jump to content

Recommended Posts

Posted

Please check the latest AutoIt beta help file to see if your changes were correctly implemented excluding the Send duplication issue reported by AZJIO.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

My previous post was that checking, but not complete.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

That's been done after Jon released v3.3.9.17. So you won't see those changes until the next release.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted (edited)
I think I expressed so bad I will try to clarify.
My previous post was due to check what has been changed in version 17
I saw the changes that's what I reported earlier, I noticed what I thought was that it is still possible to improve, so I volunteered again.
 
Unfortunately, I could not see all that I reported.
So you can count on at least for the next posts :)
Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Yeah, if you see improvements then please post. I always appreciate when people can help.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

  • Moderators
Posted

guinness,

_FileListToArrayRec is missing a value for the third option of the $iSort parameter, although the $iReturnPath parameter does display a similar value. It was also missing in the .16 Beta (I am not installing any earlier versions to see if it was the case there too). I have just checked the repository and the value is present in the "txt2html" file - is this a file structure/build script problem? :huh:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

Also Success and Failure were messed up too. Suffice to say I fixed it. Update svn and you will see what I did with the txt file.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted (edited)

in If...ElseIf...Else...EndIf

in Remarks

If statements may be nested.

Please add this:

ElseIf statements may be nested.

 

And change example to something like that:

#include <MsgBoxConstants.au3>
Local $sString = False
If $sString > 0 Then
    MsgBox($MB_SYSTEMMODAL, "", "Value is positive.")
ElseIf $sString < 0 Then
    MsgBox($MB_SYSTEMMODAL, "", "Value is negative.")
ElseIf IsBool($sString) = 1 Then
    MsgBox($MB_SYSTEMMODAL, "", "Value is Boolean.")
Else
    If StringIsXDigit($sString) Then
        MsgBox($MB_SYSTEMMODAL, "", "Value might be hexadecimal!")
    Else
        MsgBox($MB_SYSTEMMODAL, "", "Value is a string.")
    EndIf
EndIf
Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

btw.

in False / True

add related to IsBool()

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

please add 

in Dim / Global / Local / Const

in Related IsArray

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Moderators
Posted (edited)

mlipok,

That is not a "nested" IfElse - it is a "nested" If in an If with "multiple" IfElse. ;)

But I agree that another IfElse in the example might be a good idea. :)

M23

Edited by Melba23
Tags!!!!!!!

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

please add 

in Dim / Global / Local / Const

in Related IsDeclared Assign Eval

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

  On 8/15/2013 at 8:23 PM, mlipok said:

btw.

in False / True

 

add related to IsBool()

Done.

 

  On 8/15/2013 at 8:21 PM, mlipok said:

in If...ElseIf...Else...EndIf

in Remarks

If statements may be nested.

 

Please add this:

ElseIf statements may be nested.

 

 

And change example to something like that:

#include <MsgBoxConstants.au3>
Local $sString = False
If $sString > 0 Then
    MsgBox($MB_SYSTEMMODAL, "", "Value is positive.")
ElseIf $sString < 0 Then
    MsgBox($MB_SYSTEMMODAL, "", "Value is negative.")
ElseIf IsBool($sString) = 1 Then
    MsgBox($MB_SYSTEMMODAL, "", "Value is Boolean.")
Else
    If StringIsXDigit($sString) Then
        MsgBox($MB_SYSTEMMODAL, "", "Value might be hexadecimal!")
    Else
        MsgBox($MB_SYSTEMMODAL, "", "Value is a string.")
    EndIf
EndIf

The example is a little complex for those just starting out with AutoIt I'm afraid.

Edit: Maybe it could be added as second example and I agree with Melba's comment about nesting.

Edited by guinness

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

  On 8/15/2013 at 8:26 PM, Melba23 said:

mlipok,

That is not a "nested" IfElse - it is a "nested" If in an If with "multiple" IfElse. ;)

But I agree that another IfElse in the example might be a good idea. :)

M23

 

Thanks for the clarification and for compliance at the example :)

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

  On 8/15/2013 at 8:25 PM, mlipok said:

please add 

in Dim / Global / Local / Const

in Related IsArray

I can't see the relationship.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted
  On 8/15/2013 at 8:21 PM, mlipok said:

And change example to something like that:

Yeah sure with a boolean in a string variable.
Posted

in IsDeclared

In Remarks add link Dim/Global/Local

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

  On 8/15/2013 at 8:33 PM, mlipok said:

in IsDeclared

In Remarks add link Dim/Global/Local

Only Global or Local then. Dim should only be used to empty an array, not for its declaration. Edited by FireFox
Posted (edited)
  On 8/15/2013 at 8:30 PM, FireFox said:

Yeah sure with a boolean in a string variable.

 

Before proposing the example I thought about it.
But if you look closely it zauważszy in the example of the help that I allow not only to the inaccuracies
 
for example,
 
#include <MsgBoxConstants.au3>

Local $sString = ""
If $sString > 0 Then
    MsgBox($MB_SYSTEMMODAL, "", "Value is positive.")
ElseIf $sString < 0 Then
    MsgBox($MB_SYSTEMMODAL, "", "Value is negative.")
Else
    If StringIsXDigit($sString) Then
        MsgBox($MB_SYSTEMMODAL, "", "Value might be hexadecimal!")
    Else
        MsgBox($MB_SYSTEMMODAL, "", "Value is a string.")
    EndIf
EndIf

EDIT:

$sString > 0

$sString < 0

Edit again:

StringIsXDigit($sString)

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

  On 8/15/2013 at 8:33 PM, mlipok said:

in IsDeclared

In Remarks add link Dim/Global/Local

Thanks. But IsDeclared should only be used with Assign and Eval respectively. Unless another MVP/Dev says otherwise.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...