This page explains a basic Pascal instruction. If you want to see how to make your own instructions, see Procedures and Functions.
This article is part of the Getting Started series

The READ and READLN instructions read a variable from the keyboard. The comand will continue to read until ENTER is pressed (with an exception). In contrast with READ, READLN reads the variable and, when the user pressed ENTER, it moves the cursor on the next line.


See alsoEdit