Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/23/2012 in all areas

  1. 1 point
  2. water

    AutoIt Snippets

    #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7 ; Dumps a string in three lines as character, hex and decimal. A new output block is started after $iLength characters _StringDump("1234567890" & @CRLF & "abcdefghij", 5) Exit Func _StringDump($sString, $iLength) Local $sStringAsc, $sStringDec, $sStringHex, $sChar, $iIndex, $iPos = 1 For $iIndex = 1 To StringLen($sString) $sChar = StringMid($sString, $iIndex, 1) If Asc($sChar) >= 32 Then $sStringAsc = $sStringAsc & " " & $sChar & " " Else $sStringAsc = $sStringAsc & " . " EndIf $sStringHex = $sStringHex & " " & Hex(Asc(StringMid($sString, $iIndex, 1)), 2) & " " $sStringDec = $sStringDec & StringRight("00" & Asc(StringMid($sString, $iIndex, 1)), 3) & " " Next While $iPos < StringLen($sString) ConsoleWrite(StringStripWS(StringMid($sStringAsc, ($iPos * 4) - 3, $iLength * 4), 2) & @LF) ConsoleWrite(StringStripWS(StringMid($sStringHex, ($iPos * 4) - 3, $iLength * 4), 2) & @LF) ConsoleWrite(StringStripWS(StringMid($sStringDec, ($iPos * 4) - 3, $iLength * 4), 2) & @LF & @LF) $iPos += $iLength WEnd EndFunc ;==>_StringDump
    1 point
  3. Valik

    Grezvangbe

    After making on the user's first day they proceeded to report one of my that was 4 months old for having profanity even though we do not have a "no profanity" rule. 7 day ban.
    1 point
×
×
  • Create New...