Sonderzeichen

  • Mit Char ist es auf 124:

    [autoit]

    MsgBox ( 0, "", Chr(124) )

    [/autoit]

    Edit:
    Kannst dir auch so ne Table schreiben da siehst du ja auf welchem Zeichen es ist:

    Spoiler anzeigen
    [autoit]

    #include <ButtonConstants.au3>
    #include <EditConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>

    [/autoit] [autoit][/autoit] [autoit]

    #Region ### START Koda GUI section ### Form=
    $Form1 = GUICreate("ASCII Table", 200, 400, -1, -1)
    $Edit1 = GUICtrlCreateEdit("", 10, 16, 180, 329)
    $Button1 = GUICtrlCreateButton("Go", 65, 360, 75, 25, 0)
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###

    [/autoit] [autoit][/autoit] [autoit]

    Global $a

    [/autoit] [autoit][/autoit] [autoit]

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit
    Case $Button1
    For $i=32 to 255 Step +1
    $a=$a&$i&"--> "&Chr($i)&@CRLF
    Next
    GUICtrlSetData ( $Edit1, $a )
    EndSwitch
    WEnd

    [/autoit]

    Einmal editiert, zuletzt von Greek (21. Juni 2009 um 13:45)