Custom Query
Results (325 - 327 of 3904)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #326 | Rejected | Autoit with Windows Mobile | webmaster@… | |
| Description |
Hello, Is it possible that you can write applications with Autoit for your Windows Mobile 5/6? Kind regards, Melroy van den Berg |
|||
| #327 | Fixed | SciTE/Tidy bug. False message: "endfunc" is closing previous "if" | Jos | Hubertus72 |
| Description |
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
|
|||
| #328 | Completed | Faster string manipulation with use of ASCII decimal values. | Valik | SmOke_N |
| Description |
StringSplitASCII("String") or StringToASCII("String") Return an array of ASCII decimal values. And for the conversion of an ASCII array something like StringASCIIStr(avArray). Global $aSTA = StringSplitASCII("My String")
Global $sConvert = ""
;Output of Array values:
;$aSTA[0] = 77
;$aSTA[1] = 121
;$aSTA[2] = 32
;$aSTA[3] = 83
;$aSTA[4] = 116
;$aSTA[5] = 114
;$aSTA[6] = 105
;$aSTA[7] = 110
;$aSTA[8] = 103
;$aSTA[9] = 0 ; doubt this should be accessible
$aSTA[4] = 0
$sConvert = StringASCIIStr($aSTA)
ConsoleWrite($sConvert & @CRLF)
;Should give the output of "My S".
I suppose you could add parameters such as start position and end position for those manipulating large strings. With some of the slower string functions ... this would be a welcomed new addition. |
|||
Note: See TracQuery
for help on using queries.
