Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ASCII Return

Empfohlene Antworten

Veröffentlicht

Hallo, nur mal eine schnelle, peinliche Frage:

Mit "if (zeichen != 59)" prüfe ich, ob ein Zeichen ein Semikolon ist.

Was müßte ich denn da einsetzen, wenn es ein Return sein soll? Die 13 funktioniert nicht :-(

Hi!

Versuch's mal mit

if(zeichen!="\n")

Müsste eigentlich gehen, da "\n" die Sequenz für einen Zeilenumbruch ist.

Bye.

DocMabuse

<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Zitat:</font><HR>Original erstellt von DocMabuse:

<STRONG>

if(zeichen!="\n")

Müsste eigentlich gehen, da "\n" die Sequenz für einen Zeilenumbruch ist.

</STRONG>

<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Zitat:</font><HR>Original erstellt von ElektroUli:

<STRONG>

Mal angenommen, dass er wirklich einen Zeilenumbruch wollte (was ja nicht das Gleiche wie "return" sein muss), ist nicht "irgendwas" irgendwas mit einer 0 am Ende? (Wenns Probleme gibt, einfache Hochkommata nehmen)

Uli</STRONG>

Danke für die Hilfe :-)

Also, das mit den Hochkommata hat geklappt.

War doch kein Return was ich brauchte, sondern nur einen Zeilenumbruch.

Danke ;-)

<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Zitat:</font><HR>Original erstellt von DocMabuse:

<STRONG>

@Uli:

Hm, verstehe Deine Frage nicht ganz... :confused:

</STRONG>

Morgen,

also ich wuerd halt entweder auf "\n" oder auf "\0" abfragen beides wird wie ein return behandeld.

Wenn du wirklich reines ASCII hast dann solltest du normal sowas wie <CR> nicht haben, anders hast du ein Problem.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.