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 delay

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 :: pascal readln() 
Pascal :: exceptions in pascal 
Pascal :: pascal sleep 
Pascal :: pascal repetition 
Pascal :: does not equal in pascal 
Powershell :: CMD & Powershell History 
Powershell :: start-process pwsh 
Powershell :: How to save Jira attachments using powershell 
Gdscript :: godot 
Clojure :: clojure def 
Abap :: sap checkbox abap 
Assembly :: vmware workstation player disable side channel mitigations 
Assembly :: does assembly language use registers 
Assembly :: keyevent to char 
Assembly :: irate translator 
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
7+1 =