Search
 
SCRIPT & CODE EXAMPLE
 

PASCAL

pascal pause

Program PauseUntilKey;

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

pascal pause program for seconds

Program DelayInPascal;
uses crt;       //required for delay()

begin
    Writeln('Waiting 1 second...');
    delay(1000);
    
    Writeln('Waiting 3.5 seconds...');
    delay(3500);
    
    Write('Program ended!');
End.

//*Note: The delay() function in Pascal is in milliseconds 
//       Therefore, delay(1000) is 1 second delay
Comment

PREVIOUS NEXT
Code Example
Pascal :: while loop in pascal 
Pascal :: for loop pascal 
Pascal :: print pascal triangle 
Pascal :: pascal const 
Powershell :: Take ownership of a folder 
Powershell :: get-childitem supress errors silently 
Powershell :: To look at a profile to see information about a wifi network 
Gdscript :: godot 2d set position to mouse 
Clojure :: how to use clojure cond 
Abap :: abap last row in loop 
Erlang :: get erlang version 
Assembly :: MOD OPERATOR for register in arm assembly 
Assembly :: set assembly highligh vim 
Assembly :: how to listen for changes on an ObservableMap 
Assembly :: flutter button border radius 
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
5+8 =