Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (130 - 132 of 3841)

Ticket Resolution Summary Owner Reporter
#3643 No Bug For...To...Step...Next - variable is NOT (see Remarks in AutoIt Help) in Local scope! Bitnugger
Description
#include <AutoItConstants.au3>

Local $sScope, $sRemarks = ' --> Remarks: The variable will be created automatically with Local scope, even when MustDeclareVars is on.'
ConsoleWrite('> For $i = 0 To 1 Step 1' & @CRLF)
For $i = 0 To 1 Step 1
	ConsoleWrite('@ $i = ' & $i & @CRLF)
Next
Switch IsDeclared('i')
	Case $DECLARED_GLOBAL  ;  1
		$sScope = '! $i = $DECLARED_GLOBAL  ( 1) '
	Case $DECLARED_LOCAL   ; -1
		$sScope = '+ $i = $DECLARED_LOCAL   (-1) '
	Case $DECLARED_UNKNOWN ;  0
		$sScope = '- $i = $DECLARED_UNKNOWN ( 0) '
EndSwitch
ConsoleWrite($sScope & $sRemarks & @CRLF)

#3713 Fixed _GUICtrlRichEdit_SetEventMask - $ENM_NONE not declared in RichEditConstants.au3 Jpm Bitnugger
Description

_GUICtrlRichEdit_SetEventMask ($hWnd, $iEventMask)

For $iEventMask, the AutoIt-Help also states $ENM_NONE, but this constant is undeclared in RichEditConstants.au3.

_GUICtrlRichEdit_SetEventMask ($hWnd, $ENM_NONE) ; warning: $ENM_NONE: possibly used before declaration.

#3096 No Bug Confusing error message when initializing default argument with undeclared variable Bo-Cheng Jhan
Description

On this example:

; Begin of test.au3 test(1)

Func test($x, $y = $z) ; $z is not declared. EndFunc ; End of test.au3

This script causes the following error:

test(1) test(1) ERROR Error: Variable used without being declared.

However, it is no "variable" found in this line. The actual problem is in $z, so the following error message will be more readable:

Func test($x, $y = $z) Func test($x, $y = ERROR Error: Variable used without being declared.

Note: See TracQuery for help on using queries.