Custom Query (3933 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (418 - 420 of 3933)

Ticket Resolution Summary Owner Reporter
#1649 Rejected Multiline strings without the "& _" Jon JRowe
Description

This would be very useful to alleviate several cases where multi-line strings are useful, and the & _ syntax becomes clumsy or even difficult to work with.

It helps in both coding and making code readable.

I've been using multiline strings for string manipulation, in the building of MySQL queries, document parsing, in AuCGI, and various other areas.

$s_String = "This is a test." & _
"This is a continuation of the test." & _
"The ideal behavior for multi-line strings would be to emulate the appearance in the code file."
ConsoleWrite($s_String & @LF)
ConsoleWrite(@LF)
$s_String = "This is another test." & @LF & _
"This is a continuation of the other test." & @LF & _
"New lines should implicitly have @LF or @CR."
ConsoleWrite($s_String & @LF)

This is how I'd expect to write a multiline string - this would be very useful and save lots of time.

$s_String = "This is What I'd expect to write.
Another line.
The string would be an exact match to what's written here, with no awkward & _ syntax."
#2578 Completed _ArrayDelete should return error when element is out of bounds. guinness Jaber
Description

Currently when an out of bounds index is passed to _ArrayDelete the function clamps it down to within range. This seems wrong. I propose this change:

Func _ArrayDelete(ByRef $avArray, Const $iElement)
	If Not IsArray($avArray) Then Return SetError(1, 0, False)
  
	Local Const $iUBound = UBound($avArray) - 1
  
	; Bounds checking
	If $iElement < 0 Then Return SetError(2, 0, False)
	If $iElement > $iUBound Then SetError(3, 0, False)

	; Move items after $iElement up by 1
	Switch UBound($avArray, 0)
		Case 1
			For $i = $iElement To $iUBound - 1
				$avArray[$i] = $avArray[$i + 1]
			Next
      
			ReDim $avArray[$iUBound]
      
		Case 2
			Local Const $iSubMax = UBound($avArray, 2) - 1
      
			For $i = $iElement To $iUBound - 1
				For $j = 0 To $iSubMax
					$avArray[$i][$j] = $avArray[$i + 1][$j]
				Next
			Next
      
			ReDim $avArray[$iUBound][$iSubMax + 1]
      
		Case Else
			Return SetError(4, 0, False)
	EndSwitch

	Return $iUBound
EndFunc   ;==>_ArrayDelete
#2424 No Bug Keywords.html is mostly empty. Jaber <jaberwocky6669@…>
Description

autoit-docs-v3.3.9.19-src\docs\autoit\english\html\keywords.htm is mostly empty.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.