Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (31 - 33 of 3883)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Ticket Resolution Summary Owner Reporter
#2096 Duplicate _FTP_ListToArrayEx $Return_Type = 1 or 2 no Array Content Albeck
Description

If the Flag for the $Return_Type is set to 1 or 2 the array does not contain any items. Only $Return_Type 0 works and displays both files and folders.

See picture for example. In the example the FTP directory only contains folders but as $Return_Type is set to 1 the same List in the ArrayDisplay should appear, but it does not.

This bug also occures in _FTP_ListToArray2D but NOT in _FTP_ListToArray

#424 Duplicate _Dec64() Albuquerque
Description

I had a bit of frustration when trying to convert an IPv4 address to the format used by Microsoft SCCM's database table. To get to the crux of the issue, I needed to convert a full QWORD to an integer number. The problem is that anything over 0x7FFFFFFF piped into the Dec() function results in a negative number -- seems that the Dec() function assumes input will always be a DWORD.

So, I wrote a stupidly simple converter for my own needs, but thought I'd send this up the food chain to see if it's something you good folks would be interested in...

Further, I'll note that I went cruising through all the include functions and couldn't find one similar to what I needed. If there really is one in there, I apologize profusely for being redundant -- but could you point me to it?

Here's my stupidly simple AutoIT code (that obviously has none of the correct error checking for ubiquiteous use as-is, but I digress...)

Func _Dec64($hexValue)
    $intValue = 0
    For $i = StringLen($hexValue) to 1 Step -1
        $intBase = Dec(StringMid($hexValue,$i,1))
        $intExponent = 16 ^ (StringLen($hexValue) - $i)
        $intFinal = $intBase * $intExponent

        $intValue = $intValue + $intFinal
    Next
    Return $intValue
EndFunc ;; _Dec64()
#3859 Rejected Extend For…Next syntax to force loop variable to be local within the loop only Alecsis1
Description

Something like this:

Opt('MustDeclareVars', 1)
For Local $i = 1 To 3
  ConsoleWrite($i) ; prints "123"
Next
ConsoleWrite($i)   ; now prints "4", but with "Local" modifier should be treated as "undeclared variable"

Imho, such syntax extension may be useful.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Note: See TracQuery for help on using queries.