HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Free Pascal Program Tutorial 4 - User Input - Lazarus

99,263 views October 29, 2012 4:56

Watch on YouTube
ChannelSchoolFreeware

Description from the creator

schoolfreeware.com

To have the computer receive input from the user the command readln (or its variation read) will collect the data. Also, the variable with the data type must be declared.

Example:

var
name:string;


  write('Enter Name: ');
  readln(name);


The computer will collect the data from the user and this line will output the data to the screen.


  writeln('Nice To Meet You, ', name);

About this tutorial

SchoolFreeware published this 4:56 video tutorial on October 29, 2012. It has been watched 99,263 times on YouTube.

Duration
4:56
Published
October 29, 2012
Views
99,263
Likes
590

Tags

Share

This tutorial in other languages