Search
 
SCRIPT & CODE EXAMPLE
 

PASCAL

pascal readln()

Program InputInPascal;

Var
number:integer;

begin
    write('Enter a number: ');
    readln(number);    // Waiting for input and storing it inside variable "number"
    
    writeln('The double of the number entered is: ',number*2);
End.
Comment

pascal readln()

Program PauseUntilKey;

Begin
    writeln('Press any key to continue...');
    
    readln();      //pause program until any key is pressed
    
    writeln('Program Resumed!');
End.
Comment

PREVIOUS NEXT
Code Example
Pascal :: pascal pause until key is pressed 
Pascal :: pascal output 
Pascal :: pascal try catch finally 
Pascal :: while do in pascal 
Pascal :: print pascal triangle 
Pascal :: pascal cheat sheett 
Powershell :: call function powershell 
Powershell :: ps where-object 
Gdscript :: godot make string all lowercase 
Clojure :: clojure 
Abap :: adobre forms abap tcode 
Assembly :: tqdm label 
Assembly :: vba hello world 
Assembly :: where correlation is used 
Assembly :: sort in assembly pcspim 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: jquery add disabled to button 
Javascript :: jquery run code after 5 seconds 
Javascript :: use jquery 
Javascript :: vimeo playback speed 
Javascript :: Basic JavaScript: Use Recursion to Create a Range of Numbers 
Javascript :: vuex-module-decorators rawError globally 
Javascript :: autoplay owl carousel 
Javascript :: how to get element by title js 
Javascript :: check ip json 
Javascript :: shadow elevation react native 
Javascript :: javascript capitalize string 
Javascript :: remove all options from select jquery 
Javascript :: swiper.js cdn 
Javascript :: angular go to route 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =