Search
 
SCRIPT & CODE EXAMPLE
 

PASCAL

pascal read

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 :: subrange variables pascal 
Pascal :: pascal input format check 
Pascal :: pascal iteration 
Pascal :: function in pascal 
Pascal :: pascal special characters 
Powershell :: powershell take ownership recursive command 
Powershell :: Download attachment from Jira task to local filesystem 
Gdscript :: godot check if timer is running 
Gdscript :: godot yield idle frame 
Clojure :: clojure read file 
Lisp :: print lisp 
Assembly :: Cannot open self /usr/local/bin/docker-compose 
Assembly :: cmd to know the version of a programm 
Assembly :: Z language latex 
Assembly :: bidirectional binding between string Property and integerproperty 
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
3+3 =