﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
327	"SciTE/Tidy bug. False message: ""endfunc"" is closing previous ""if"""	Hubertus72	Jos	"There is a Tidy bug in _ITE function: Error -> ""endfunc"" is closing previous ""if""
'''but the function is running fine.'''
{{{
Local $n1 = 1, $n2
$t = ""Steps"" & @TAB & ""Variants"" & @TAB & @TAB & @TAB & @TAB & ""Steps"" & @TAB & ""Variants"" & @TAB & @LF & @LF
For $i = 1 To 91
	$n0 = $n1
	$n1 += $n2
	$n2 = $n0
	$t &= $i & @TAB & StringFormat(""%-20.0f"", $n1) & _ITE(Mod($i, 2), @TAB & @TAB & _ITE($i < 54, @TAB, """"), @LF)
Next
MsgBox(0, ""The steps enigma"", $t)

Func _ITE($if, $then = 1, $else = 0)
	If $if Then Return $then
		Return $else
;### Tidy Error -> ""endfunc"" is closing previous ""if""
	EndFunc   ;==>_ITE
}}}"	Bug	closed	Future Release	SciTE4AutoIt	3.2.12.0	None	Fixed	"Tidy message ""endfunc"" is closing previous ""if"""	
