Custom Query


Show under each result:

Results (91 - 93 of 3870)

Ticket Resolution Summary Owner Reporter
#2727 Wont Fix optional Datatypes anonymous

The fact that I could not even find one ticket about this probably tells me that I shouldn't ask, but anyway, here we go.

If I remember it correctly then the variant datatype works by converting the content of the variables you are currently working with to the type that makes the most sense. If this is correct than it obviously has to be done every time the user works with a variable and therefore I guess that it slows AutoIt down a lot.

What I am asking for is not to force every user to specify the type of every variable, because this would break every AutoIt v3 script that is still working and it would be completely unnecessary.

What I am asking for instead is a static type system that is completely optional, that works by adding new Keywords and that simply bypasses all the checks and conversions that are currently done.


Local $a, $b, $c ; no datatype specified -> Variant
Local Int $i
Local String $s
Local Bool $f = ($a > $b)

Thanks for reading.

#1161 Fixed old colormode links and remarks. Valik anonymous

old colormode links and remarks. counting 9 after help search for "colormode"

#1293 No Bug odd value returned when assigning "default" to Scripting.Dictionary Gabriel13

When the AutoIt "default" value is assigned to a Scripting.Dictionary object, and later retrieved, the result is no longer "default".

Instead, it becomes a strange "falsy" value which varGetType() identifies as "Object", yet it fails the isObj() test.

The code below illustrates what happens - I've also confirmed that this issue is present in the latest beta (

func testDictionary($v)
	local $d=objCreate('Scripting.Dictionary')
	return $d.item('x')


local $v=default
msgbox(0,default,'"' & string($v) & '"' & @LF & varGetType($v) & @LF & isObj($v))
; returns "Default", Keyword, 0

; assign to dictionary & then retrieve
msgbox(0,default,'"' & string($v) & '"' & @LF & varGetType($v) & @LF & isObj($v))
; returns "", Object, 0

if $v then
; returns "falsy"
Note: See TracQuery for help on using queries.