Custom Query
Results (145 - 147 of 3866)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#146 | No Bug | Boolean numeric conversion | pdaughe | |
Description |
#CS If you use arithmetics together with Boolean values (which is not advisable!), the following rules apply: A Boolean true will be converted into the numeric value 1 A Boolean false will be converted into the numeric value 0 Example: $Boolean1 = true $Number1 = 100 $Number2 = $Boolean1 + $Number1 This will result in $Number2 to be the numeric value 101 #CE $Var = True If $var = 7 Then MsgBox(4096,"", "Value is positive.") EndIf P.S. Did I submit this ticket correctly? I never used the Trac system before...I searched for existing problems and found a topic on Booleans back in 2005, but didn't see a specific example of this. My apologies if I submit this ticket incorrectly. |
|||
#147 | Rejected | Restore "Passphrase" Option in Aut2exe | anonymous | |
Description |
Documentation seems to indicate that there was once a "Passphrase" option in Aut2exe to prevent decompiling executables. However in version 3.2.10.0 the option is missing. Running Aut2exe with the "/?" switch also does not mention the "/nodecompile" option. |
|||
#148 | Fixed | _StringProper | Jos | Xenobiologist |
Description |
The func will only work this letters [a-zA-Z]. There are languages which use something like öäü. Func _StringProper($s_Str) Local $iX = 0 Local $CapNext = 1 Local $s_nStr = "" Local $s_CurChar For $iX = 1 To StringLen($s_Str) $s_CurChar = StringMid($s_Str, $iX, 1) Select Case $CapNext = 1 If StringRegExp($s_CurChar, '[a-zA-Z]') Then $s_CurChar = StringUpper($s_CurChar) $CapNext = 0 EndIf Case Not StringRegExp($s_CurChar, '[a-zA-Z]') $CapNext = 1 Case Else $s_CurChar = StringLower($s_CurChar) EndSelect $s_nStr &= $s_CurChar Next Return ($s_nStr) EndFunc ;==>_StringProper Mega |
Note: See TracQuery
for help on using queries.