This stops reading at a null (ASCII code zero) character or after n characters.
Dadurch wird das Lesen bei einem Null (ASCII-Code Null)-Zeichen oder nach n Zeichen beendet.
Other results
Your function, however, has to always return the ASCII code of the desired character, or zero, if the pressed key is to be ignored.
In jedem Fall muss Ihre Funktion den ASCII-Code des gewünschten Zeichens zurückgeben oder null, wenn der Tastendruck ignoriert werden soll.
This makes it possible to distinguish between e.g., numeric keypad and main keyboard as well as permitting cancellations using keys, which return a zero as their ASCII code such as [Cursor up].
Dies ermöglicht z.B. die Unterscheidung zwischen Ziffernblock und Haupttastatur und erlaubt auch den Abbruch durch Tasten, die als ASCII-Code eine Null zurückgeben, wie z.B. [Cursor hoch].
Rolled in on one side, it almost replaces the code zero.
Einseitig ausgerollt, ersetzt es fast den CodeZero.
To be successful, the program must return with exit code zero.
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.