Share to:

Baris baru

Baris baru disisipkan di antara kata "Hello" dan "world"

Baris baru (sering disebut akhir baris, end of line (EOL), atau jeda baris) adalah karakter kontrol atau urutan karakter kontrol dalam spesifikasi pengkodean karakter seperti ASCII, EBCDIC, Unicode, dll. Karakter atau urutan karakter ini, digunakan untuk menandakan akhir baris teks dan awal baris baru.[1]

Representasi

Representasi baris baru dalam perangkat lunak dan sistem operasi dengan satu atau dua karakter kontrol
Sistem operasi Pengodean karakter Singkatan Nilai heksadesimal Nilai desimal Urutan karakter pelarian
Multics, sistem POSIX: Unix dan mirip-Unix (Linux, macOS, BSD, AIX, Solaris, Xenix, dst.), QNX, Lainnya: BeOS, Amiga, RISC OS, dan lainnya.[2]
LF
0A
10
\n
Windows, MS-DOS, Atari TOS, DEC TOPS-10, RT-11, CP/M, MP/M, OS/2, Symbian, Palm OS, Amstrad CPC, sistem operasi non-Unix dulu lainnya
CR LF
0D 0A
13 10
\r\n
Commodore 64, Commodore 128, BBC Micro, ZX Spectrum, TRS-80, Apple II, Oberon, Mac OS Klasik, HP Series 80, MIT Lisp Machine, dan OS-9
CR
0D
13
\r
Output pengumparan teks BBC Micro dan RISC OS[3]
LF CR
0A 0D
10 13
\n\r
Implementasi QNX pre-POSIX (versi < 4)
RS
1E
30
\036
Atari 8-bit
EOL
9B
155
Bingkai utama IBM, termasuk z/OS dan IBM i
NL
15
21
\025
ZX80 dan ZX81 (komputer rumahan dari Sinclair Research)
Penkodean kepemilikan ZX80/ZX81
76
118

Lihat juga

Referensi

  1. ^ "What is a Newline?". www.computerhope.com (dalam bahasa Inggris). Diakses tanggal 2021-05-10.
  2. ^ "ASCII chart". www.bluesock.org. Diakses tanggal 2026-04-10.
  3. ^ "RISC OS PRMs: Volume 1: Chapter 20: Character Output". www.riscos.com. Diakses tanggal 2026-04-10.

Pranala luar


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.
Prefix: a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9

Portal di Ensiklopedia Dunia

Kembali kehalaman sebelumnya