Päivitä sanakirjasi

newline

substantiivi

  1. rivi, joka alkaa uudessa kohdassa tekstissä.

    Kun kirjoitat tekstiä, voit lisätä uuden rivin painamalla Enter-näppäintä.

Mitä tarkoittaa

Uuden rivin käsite liittyy tekstinkäsittelyyn ja ohjelmointiin, jossa se tarkoittaa merkkijonon loppua ja uuden rivin alkamista. Uusia rivejä käytetään tekstin jäsentämiseen, parantamaan luettavuutta ja erottamaan eri osat tekstistä. Eri ohjelmointi- ja merkintäkielissä, kuten HTML:ssä tai Pythonissa, käytetään erilaisia merkkejä uuden rivin luomiseen. Esimerkiksi ohjelmoinnissa ' ' käytetään usein merkitsemään uuden rivin alkua. Uuden rivin merkintä voi vaihdella käyttöjärjestelmän mukaan, kuten Windows, Linux tai macOS, jolloin niitä voidaan merkitä eri tavoilla, kuten ' ' tai ' '.

Käännökset

englanti puhekieltä The character or character sequence that indicates the end of a line of text and transition to the next line; or, a control code or escape sequence used in a programming language to denote this character.

Microsoft Windows uses CRLF for newline.

1959, Association for Computing Machinery, Communications of the ACM (ACM Digital Library) http://books.google.com/books?vid=OCLC67989652&id=f18fAAAAMAAJ&q=%22a+newline%22+date:1900-1980&dq=%22a+newline%22+date:1900-1980&pgis=1 Page 599
The ugly part is the quote marks on two adjacent lines that mean a newline character.
1987, T. D. Brown, C for Basic Programmers http://books.google.com/books?vid=ISBN0961533617&id=Kj1USSPT-ugC&pg=PA13&lpg=PA13&dq=%22a+newline%22+date:1900-1990&sig=RpdNenlr9ftDgfkmguzTVrT6GY4PPA13,M1 Page 13
The calculator program starts off by printing the string "0\n", that is, it prints a zero and then moves to a newline.
2002, Laura Lemay, Rafe Colburn, Sams Teach Yourself Perl in 21 Days, http://books.google.com/books?vid=ISBN0672320355&id=trejcrrdSwAC&pg=PA69&lpg=PA69&ots=uak9Y47ziI&dq=%22a+newline%22&sig=NjiOML1qWIW3tNbze6sG9zWv6zY Page 69
Unlike in C, you don't have to loop through the output and watch every character to make sure it's a newline; Perl will keep track of that for you.
2002, Allen B. Downey, Jeffrey Elkner and Chris Meyers, s:How to Think Like a Computer Scientist/Chapter 3|How to Think Like a Computer Scientist: Learning with Python
It contains only a single statement, which outputs a newline character. (That's what happens when you use a print command without any arguments.)
2006, Jeffrey E.F. Friedl, Mastering Regular Expressions http://books.google.com/books?vid=ISBN0596528124&id=NYEX-Q9evKoC&pg=RA51-PA111&lpg=RA51-PA111&ots=qno3qVRtav&dq=%22a+newline%22+date:2004-2007&sig=DDelUf5rsKm2Kz80ebDpFHnr0fk Page 111
The original Unix regex tools worked on a line-by-line basis, so the thought of matching a newline wasn't an issue until the advent of sed and lex.

Riimisanakirja

newline rimmaa näiden kanssa:

deadline, teline, kirjateline, taakkateline, kukkateline, tavarateline, karttateline, suksiteline, nuottiteline, vetoteline

Lisää riimejä

Rakastatko sanoja? Tarvitsetko lisää määritelmiä?

Tilaamalla Suomen suurimman sanakirjan saat tuhansia määritelmiä ja tarkennetun haun ilman mainoksia!

Suomisanakirja Pro